From 3a647e87566b7d28f149ce62c86611b24b463feb Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Sat, 19 Sep 2020 11:19:58 +0100 Subject: [PATCH] Makes zsh expand initial command properly --- shells/zsh/STOW/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shells/zsh/STOW/.zshrc b/shells/zsh/STOW/.zshrc index a333119b..6254cd72 100644 --- a/shells/zsh/STOW/.zshrc +++ b/shells/zsh/STOW/.zshrc @@ -64,7 +64,7 @@ setopt chaselinks # THis is almost always a curses app so I don't want to try and record the terminal if [ -n "$initialCommand" ]; then echo "Running $initialCommand" - $initialCommand && exit + ${=initialCommand} && exit else local current="$(project current --path)" if [ -n "$current" ]; then