load aliases after modules
This commit is contained in:
parent
66a494cd10
commit
03f7ecf920
7
zshrc
7
zshrc
|
@ -25,9 +25,6 @@ zmodload zsh/zftp
|
||||||
|
|
||||||
function exists { command -v "$@" >/dev/null }
|
function exists { command -v "$@" >/dev/null }
|
||||||
|
|
||||||
for i in ${ZDOTDIR:-/etc/zsh}/aliases/*~${ZDOTDIR:-/etc/zsh}/aliases/*.zwc; do
|
|
||||||
. $i
|
|
||||||
done
|
|
||||||
|
|
||||||
#ZMODLOAD_BLACKLIST=( prompt )
|
#ZMODLOAD_BLACKLIST=( prompt )
|
||||||
|
|
||||||
|
@ -35,6 +32,10 @@ stty -ixon
|
||||||
|
|
||||||
. ${ZDOTDIR:-/etc/zsh}/modules/loader.zsh && mod_init
|
. ${ZDOTDIR:-/etc/zsh}/modules/loader.zsh && mod_init
|
||||||
|
|
||||||
|
for i in ${ZDOTDIR:-/etc/zsh}/aliases/*~${ZDOTDIR:-/etc/zsh}/aliases/*.zwc; do
|
||||||
|
. $i
|
||||||
|
done
|
||||||
|
|
||||||
echo $PATH | grep -q 'local' || . /etc/zsh/zprofile
|
echo $PATH | grep -q 'local' || . /etc/zsh/zprofile
|
||||||
echo $PATH | grep -q 'sbin' || . /etc/zsh/zprofile
|
echo $PATH | grep -q 'sbin' || . /etc/zsh/zprofile
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue