Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
cannam
on May 15, 2014
|
parent
|
context
|
favorite
| on:
OS X Command Line Utilities
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
on May 15, 2014
[–]
This is probably the thing I’m missing the most in fish shell.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: