exit codes
cds doesn't return an exit code of 1 when it fails. cd does
options
cds doesn't work when cd's -P option is used. This is because cds doesn't recognize -P as a directory, so it doesn't call regular cd
Also what should we do about cd's -L option? It's turned on by default
In today's episode of making
cds
more likecd
:cds
doesn't return an exit code of 1 when it fails.cd
doescds
doesn't work whencd
's-P
option is used. This is becausecds
doesn't recognize-P
as a directory, so it doesn't call regularcd
Also what should we do aboutcd
's-L
option? It's turned on by default