From cbf14c3d5c62863426a65696d56ceaade8a7df13 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 17 Jul 2019 10:18:33 +0100 Subject: [PATCH] Source ~/.shell_aliases from zshrc --- states/zsh/files/zshrc | 4 ++++ states/zsh/init.sls | 1 + 2 files changed, 5 insertions(+) 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: -- 2.46.2