I'm expecting z to work like a superset of cd, otherwise I have to fight against my muscle memory to use z in some cases and cd in others.
If no argument is specified, cd will change the current directory to $HOME; and if argument is -, cd will change to the previous directory. In both cases, z now works like z -l.
I'm expecting
z
to work like a superset ofcd
, otherwise I have to fight against my muscle memory to usez
in some cases andcd
in others.If no argument is specified,
cd
will change the current directory to$HOME
; and if argument is-
, cd will change to the previous directory. In both cases,z
now works likez -l
.