From 03f7ecf92070902bc895ebd35bef1a9f09e64cc7 Mon Sep 17 00:00:00 2001 From: "Alexander Gehrke (crater2150)" Date: Tue, 5 Jan 2016 04:34:13 +0100 Subject: [PATCH] load aliases after modules --- zshrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/zshrc b/zshrc index 04fff3c..e702fdd 100644 --- a/zshrc +++ b/zshrc @@ -25,9 +25,6 @@ zmodload zsh/zftp function exists { command -v "$@" >/dev/null } -for i in ${ZDOTDIR:-/etc/zsh}/aliases/*~${ZDOTDIR:-/etc/zsh}/aliases/*.zwc; do - . $i -done #ZMODLOAD_BLACKLIST=( prompt ) @@ -35,6 +32,10 @@ stty -ixon . ${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 'sbin' || . /etc/zsh/zprofile