>>>>

https://zsh.sourceforge.io/Intro/intro_6.html

/tmp> ls =2/df
/usr/bin/df
/tmp> cd -4
~>

Note that =2 expanded to the second directory in the history list, and that cd -3 recalled the third directory in the list.

<<<<<

Does this work/exist?


zzapper