From 7185a5bc50a8dca0d5b84bfd78c91b06ce3bc7c0 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Thu, 16 Jun 2016 18:00:26 +0200 Subject: [PATCH] small shellpic fix --- .zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index ef4866e8..c4feff5c 100644 --- a/.zshrc +++ b/.zshrc @@ -129,5 +129,9 @@ case $TERM in ;; esac -[ -f /usr/bin/shellpic ] && [ -f ~/images/tux.png ] /usr/bin/shellpic --shell24 --scale-x 50 ~/images/tux.png +if [ -f /usr/bin/shellpic ]; then + if [ -f ~/images/tux.png ]; then + /usr/bin/shellpic --shell24 --scale-x 50 ~/images/tux.png + fi +fi