well, somebody should learn how the if syntax is :)

This commit is contained in:
Thomas Ruoff
2009-09-26 10:22:25 +02:00
parent 8edd3a4cc9
commit b54eeffa49

10
zshrc
View File

@@ -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