diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2020-10-15 21:24:12 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2020-10-15 21:24:12 -0400 |
commit | 25899a34fafe6d7ee0935bcf6d34d9cb173ac761 (patch) | |
tree | 50eb31553bf0ca4b41fed3eb0a9e144a8b2f4f1b /.local/bin/aliasgen | |
parent | 698e2f7c15a19337078d7d0ab07b8e41cb14400a (diff) |
source aliasgen after running in zsh
Diffstat (limited to '.local/bin/aliasgen')
-rwxr-xr-x | .local/bin/aliasgen | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.local/bin/aliasgen b/.local/bin/aliasgen index bd351df..9489fbc 100755 --- a/.local/bin/aliasgen +++ b/.local/bin/aliasgen @@ -11,4 +11,7 @@ echo "$raw" | sed "s/^/alias\ /; s/\s*|\s*/=\"/; s/^.*-*+-*=\"$//; s/\s*|$/\"/" > $HOME/.cache/zsh-aliases - +case "$SHELL" in + *zsh) $HOME/.cache/zsh-aliases ;; + *) ;; +esac |