diff options
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -0,0 +1,19 @@ +ZDOTDIR=~/.zsh + +if [ -d $ZDOTDIR ]; then + for script in $ZDOTDIR/*.zsh + do + source $script + done +fi + +if [ "`whoami`" = "root" ] +then + if [ "`pwd`" = ~ ] + then + cd /root + fi + export HOME=/root +fi +#cd ~ + |