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

If you have to do it once, fine. Some work needs to be done.

If you have to do it twice, think it over a bit.

If you have to do it a third time, automate it.

I am lazy enough that I have aliases setup to change to directories I frequently use. I know people who have gone far beyond anything I have done and looking over their shoulder when they are at the shell will show a highly custom environment with dozens of custom scripts that automate all sorts of multi-step commands.

I even know a few people who have used most of the alphabet to create single letter scripts. That is efficient!



Aliases to cd into directories? You need to check out autojump style tools! Will change your life.

e.g. https://github.com/rupa/z

I very, very rarely type cd by hand anymore, mostly just use z and popd


That's exactly how a shell should be used IMO.




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

Search: