From 25899a34fafe6d7ee0935bcf6d34d9cb173ac761 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Thu, 15 Oct 2020 21:24:12 -0400 Subject: source aliasgen after running in zsh --- .local/bin/aliasgen | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3