mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 06:27:21 +01:00
well, somebody should learn how the if syntax is :)
This commit is contained in:
10
zshrc
10
zshrc
@@ -56,11 +56,9 @@ zmodload -i zsh/complist
|
|||||||
|
|
||||||
# display colored directory entries
|
# display colored directory entries
|
||||||
# display current dircolors with dircolors -p
|
# display current dircolors with dircolors -p
|
||||||
if [ -f ${HOME}/.dir_colors ]
|
if [ -f ${HOME}/.dir_colors ] ; then
|
||||||
then
|
|
||||||
eval $(dircolors -b ${HOME}/.dir_colors)
|
eval $(dircolors -b ${HOME}/.dir_colors)
|
||||||
elif [ -f /etc/DIR_COLORS ]
|
elif [ -f /etc/DIR_COLORS ] ; then
|
||||||
then
|
|
||||||
eval $(dircolors -b /etc/DIR_COLORS)
|
eval $(dircolors -b /etc/DIR_COLORS)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -117,12 +115,12 @@ promptinit
|
|||||||
# Use the wunjo prompt theme
|
# Use the wunjo prompt theme
|
||||||
prompt adam2
|
prompt adam2
|
||||||
|
|
||||||
if [ -f $HOME/.local_profile ] then
|
if [ -f $HOME/.local_profile ] ; then
|
||||||
. $HOME/.local_profile
|
. $HOME/.local_profile
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Alias
|
# Alias
|
||||||
|
|
||||||
if [ -f $HOME/.zsh/zshalias ] then
|
if [ -f $HOME/.zsh/zshalias ] ; then
|
||||||
. $HOME/.zsh/zshalias
|
. $HOME/.zsh/zshalias
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user