summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/bin/aliasgen5
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