From: Maximilian Friedersdorff Date: Wed, 17 Jul 2019 09:18:33 +0000 (+0100) Subject: Source ~/.shell_aliases from zshrc X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=cbf14c3d5c62863426a65696d56ceaade8a7df13;p=max%2Fsaltfiles.git Source ~/.shell_aliases from zshrc --- diff --git a/states/zsh/files/zshrc b/states/zsh/files/zshrc index 69025a9..86ecdf4 100644 --- a/states/zsh/files/zshrc +++ b/states/zsh/files/zshrc @@ -55,3 +55,7 @@ fi gpg-connect-agent updatestartuptty /bye > /dev/null bindkey '^R' history-incremental-search-backward + +if [[ -f ~/.shell_aliases ]]; then + source ~/.shell_aliases +fi diff --git a/states/zsh/init.sls b/states/zsh/init.sls index c6a6740..99f02ed 100644 --- a/states/zsh/init.sls +++ b/states/zsh/init.sls @@ -1,4 +1,5 @@ include: + - aliases - zsh.{{ grains['os'] | lower }} install zshrc conf file: