4 ms·
If you’re doing this for history value put it in a subshell so it doesn’t change your working directory in a confusing way: (cd ~/x/y/z && my-command)
by gumby 3y ago
If you’re doing this for history value put it in a subshell so it doesn’t change your working directory in a confusing way:
(cd ~/x/y/z && my-command)
- chrisshroba 3y agoNeat idea, definitely going to use this! Thanks for sharing