From b54eeffa4992e48d8ca4530901306aa6c61d7f3a Mon Sep 17 00:00:00 2001 From: Thomas Ruoff Date: Sat, 26 Sep 2009 10:22:25 +0200 Subject: [PATCH] well, somebody should learn how the if syntax is :) --- zshrc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/zshrc b/zshrc index 743da2d..4cfea95 100644 --- a/zshrc +++ b/zshrc @@ -56,11 +56,9 @@ zmodload -i zsh/complist # display colored directory entries # display current dircolors with dircolors -p -if [ -f ${HOME}/.dir_colors ] -then +if [ -f ${HOME}/.dir_colors ] ; then eval $(dircolors -b ${HOME}/.dir_colors) -elif [ -f /etc/DIR_COLORS ] -then +elif [ -f /etc/DIR_COLORS ] ; then eval $(dircolors -b /etc/DIR_COLORS) fi @@ -117,12 +115,12 @@ promptinit # Use the wunjo prompt theme prompt adam2 -if [ -f $HOME/.local_profile ] then +if [ -f $HOME/.local_profile ] ; then . $HOME/.local_profile fi # Alias -if [ -f $HOME/.zsh/zshalias ] then +if [ -f $HOME/.zsh/zshalias ] ; then . $HOME/.zsh/zshalias fi