3 ms·
A related trick is to use parentheses to create a subshell, in the case where you have a fixed command sequence you want to execute in another directory but you
by cannam 12y ago
A related trick is to use parentheses to create a subshell, in the case where you have a fixed command sequence you want to execute in another directory but you don't want to stay there:
$ pwd
/tmp
$ mkdir -p a/b/c
$ ( cd a/b/c ; pwd )
/tmp/a/b/c
$ pwd
/tmp
- Debilski 12y agoThis is probably the thing I’m missing the most in fish shell.