Makes zsh expand initial command properly

master
Jonathan Hodgson 4 years ago
parent b19db697e8
commit 3a647e8756
  1. 2
      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 # THis is almost always a curses app so I don't want to try and record the terminal
if [ -n "$initialCommand" ]; then if [ -n "$initialCommand" ]; then
echo "Running $initialCommand" echo "Running $initialCommand"
$initialCommand && exit ${=initialCommand} && exit
else else
local current="$(project current --path)" local current="$(project current --path)"
if [ -n "$current" ]; then if [ -n "$current" ]; then

Loading…
Cancel
Save