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

It sounds terrific. Also make sure to check out the fish shell if you haven't before. It's tab completions/up-arrow completions including for cd are really useful in a similar way.


I’ve used fish for quite a while but after Many a scripting incompatibility I went back to ohmyzsh. Fish is great if you can port your whole ecosystem into it.


I find the persistent directory stack of ohmyzsh (easy enough to enable yourself in zsh) easier to use than things like autojump or z, and pretty much makes them unnecessary. I miss this basic functionality in fish (hoping someone will point out that I have overlooked it)


If you just type cd space and hit the up arrow X times.. normally it give a good guess without having to do that just after entering cd space.


Care to elaborate? Nowadays i usually use history with fzf to find old cd commands.


cd - <tab> to view numbered list of previous directories. hit the number to cd there


Thanks! I'll need to train myself to use this, it's super cool to learn a new trick like that.




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

Search: