5 ms·
Twenty minutes. http://www.businessinsider.com/the-first-20-minutes-after-work-2014-6 http://www.businessinsider.com/the-first-20-minutes-after-wo... this is am
by chx 10y ago
Twenty minutes. http://www.businessinsider.com/the-first-20-minutes-after-work-2014-6 http://www.businessinsider.com/the-first-20-minutes-after-wo... this is amazing.
Elevate your command line game:
autojump https://github.com/wting/autojump https://github.com/wting/autojump
ag https://github.com/ggreer/the_silver_searcher https://github.com/ggreer/the_silver_searcher
Use zsh and put this in .zshrc https://gist.github.com/chx/f9509cb2db6595be334ca2404fac8a91 https://gist.github.com/chx/f9509cb2db6595be334ca2404fac8a91
Now you can jump to directories freely with just j afewcharactersfromthedirname, search their contents with ag super fast and if you ever figured out something on the command line, you can recall it after this. For example, I remember I was searching dangling commits with awk so I do Ctrl+Rgit*awk and there it is. (I posted this particular command to http://stackoverflow.com/questions/21903972/search-for-string-in-dangling-commits-in-git http://stackoverflow.com/questions/21903972/search-for-strin... but that's less relevant to the topic here so I won't repeat here.)