Y
Hacker News
new
|
ask
|
show
|
jobs
by
rjsw
1370 days ago
An executable of 'cd' wouldn't do anything useful, it could only change its own idea of working directory then exit, the shell or other executable that invoked it would be unchanged.
1 comments
stjohnswarts
1370 days ago
why couldn't it call an api in the shell to change directory?
link
remram
1370 days ago
What would that improve? And what happens if you call it from another shell?
link
stjohnswarts
1369 days ago
I never implied that it was better or worse but that it was possible
link