Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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. :-)


you can configure Alt+Left to go up level




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: