From 56c6f6cabe8c1508a0014645ff7798b377144e43 Mon Sep 17 00:00:00 2001 From: Sean Young Date: Tue, 22 Sep 2020 11:03:14 -0700 Subject: [PATCH] Fix issue with zsh not loading gam (#1245) Co-authored-by: syoung-quizlet --- src/gam-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gam-install.sh b/src/gam-install.sh index e1256cb2..613ce449 100755 --- a/src/gam-install.sh +++ b/src/gam-install.sh @@ -240,7 +240,7 @@ fi # Update profile to add gam command if [ "$update_profile" = true ]; then - alias_line="gam() { \"$target_dir/gam/gam\" \"\$@\" ; }" + alias_line="function gam() { \"$target_dir/gam/gam\" \"\$@\" ; }" if [ "$gamos" == "linux" ]; then update_profile "$HOME/.bash_aliases" 0 || update_profile "$HOME/.bash_profile" 0 || update_profile "$HOME/.bashrc" 0 update_profile "$HOME/.zshrc" 0