dont set an errorcode when zshlate does not exist
authorJoerg Jaspert <joerg@debian.org>
Thu, 21 Mar 2013 22:15:45 +0000 (23:15 +0100)
committerJoerg Jaspert <joerg@debian.org>
Thu, 21 Mar 2013 22:15:45 +0000 (23:15 +0100)
.zsh/.zshrc

index 91b6281..e68f2f6 100644 (file)
@@ -78,4 +78,4 @@ if [ ! -z "$SUDO_USER" ]; then
     [ "`pwd`" = ~$SUDO_USER ] && cd
 fi
 
-[[ -f ${ZDOTDIR}/.zshlate ]] && source ${ZDOTDIR}/.zshlate
+[[ -f ${ZDOTDIR}/.zshlate ]] && source ${ZDOTDIR}/.zshlate || /bin/true