silent check for ncal

This commit is contained in:
Oliver Ladner 2014-01-22 11:39:16 +01:00
commit 12da6eeff7

View file

@ -11,7 +11,7 @@ alias gdc='git diff --color'
# export standard terminal for remote connections
#alias ssh='export TERM=xterm && ssh'
if [ $(which ncal) ]; then
if [ $(which ncal >/dev/null 2>&1) ]; then
alias cal='ncal -b -M -3'
else
alias cal='cal -m -3'