diff options
Diffstat (limited to '.local/bin')
-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 |