← Back to context

Comment by dylan604

1 year ago

man, i couldn't live without alias ..='cd ..' or alias ...='cd ../..'

to this day, i still get tripped up when using a shell for the first time without those as they're muscle memory now.

I just use the autocd zsh shell option for this. And I also use `hash -d` to define shortcuts for common directories. Then just “executing” something like `~gh/apache/kafka` will cd to the right place.

Thanks. I haven't considered these aliases, but they seam useful, so I just added them for my user. :-)