29 ms·
The form I usually use is (cd TARGET && COMMAND), including the parentheses to make it a subshell. That seems close enough to not be worth adding features to so
by dasyatidprime 10y ago
The form I usually use is (cd TARGET && COMMAND), including the parentheses to make it a subshell. That seems close enough to not be worth adding features to something as simple as cd, given the basic shell philosophy of composability.