.zsh/README

19 lines
342 B
Plaintext
Raw Normal View History

2012-05-18 13:15:14 +04:00
# Create ~/.zshrc file with contents below.
#!/bin/zsh
# ~/.zshrc
ZDOTDIR=~/.zsh
2019-06-17 12:11:01 +03:00
[ -x $ZDOTDIR/const.sh ] && source $ZDOTDIR/const.sh
[ -x $ZDOTDIR/local_const.sh ] && source $ZDOTDIR/local_const.sh
2012-05-18 13:15:14 +04:00
for rc in $ZDOTDIR/*.sh
do
2019-06-17 12:11:01 +03:00
[ -x $rc ] && source $rc
2012-05-18 13:15:14 +04:00
done
unset rc
2019-06-17 12:11:01 +03:00
[ -x $ZDOTDIR/local.sh ] && source $ZDOTDIR/local.sh
unset ZDOTDIR