19 lines
342 B
Plaintext
19 lines
342 B
Plaintext
# Create ~/.zshrc file with contents below.
|
|
|
|
#!/bin/zsh
|
|
# ~/.zshrc
|
|
|
|
ZDOTDIR=~/.zsh
|
|
|
|
[ -x $ZDOTDIR/const.sh ] && source $ZDOTDIR/const.sh
|
|
[ -x $ZDOTDIR/local_const.sh ] && source $ZDOTDIR/local_const.sh
|
|
for rc in $ZDOTDIR/*.sh
|
|
do
|
|
[ -x $rc ] && source $rc
|
|
done
|
|
unset rc
|
|
|
|
[ -x $ZDOTDIR/local.sh ] && source $ZDOTDIR/local.sh
|
|
|
|
unset ZDOTDIR
|