Another thing I use the most is the reverse-i-search, but, instead of typing Ctrl+R and the text I want to search, I just type it and use the arrow keys. The shell looks in the history but matching my query, and the visual result looks much more intuitive :D
And that's just one feature (appart for, for example, the "bobthefish" theme, a must have for using git) out of a large list.
Lastly, I recently added a bit of code that allow me to quiclky insert the most recent file in the given directory into the current command line: latest.zsh
end of self promotion
There are other tools and hacks I will cover in the next articles.
I have 15 years of experience working in tech, specializing in PHP and Symfony. I'm also passionate about advocating for diversity, inclusivity, and mental health in STEM fields.
Professional developer for twenty years. Team lead, technical lead.
What I love is to code stuff. I appreciate pair programming. I think software design is important. I also love to debug code.
I recommend to (semi)automate a way to prepare a new box to suit your needs.
I use developer.atlassian.com/blog/2016/... for this and can tweek a new box within 15 minutes.
Prezto over oh-my-zsh every time. Same idea but much more lightweight. And if you want to also trick out vim, git and zsh look at Yadr which uses Prezto.
fish shell is even better
I was about to say that! So much better indeed!
And what's better with Fish shell?
Thanks!
EDIT: I gave a shot and I love the real autocompletion without plugin :)
It provides a great experience, right out of the box!
A few sample points that I find really useful:
Now if you are into scripting, you might find it a bit easier to write your own autocompletion, it did for me for sure ;)
Another thing I use the most is the reverse-i-search, but, instead of typing Ctrl+R and the text I want to search, I just type it and use the arrow keys. The shell looks in the history but matching my query, and the visual result looks much more intuitive :D
And that's just one feature (appart for, for example, the "bobthefish" theme, a must have for using git) out of a large list.
As a vim user I hate the arrow key, I lost some productivity when I moved from the row.
Nice article! We have similar setups, so I though you might want to know more about mine:
Personally, I use zsh-pure-prompt.
I also use
fzfa lot, and I even re-wrotezusingfzfMore info on my blog, you may find this interesting:
Lastly, I recently added a bit of code that allow me to quiclky insert the most recent file in the given directory into the current command line:
latest.zsh
end of self promotion
Can't wait to read them!
Thanks for your feedback and interesting articles!
We have quite a similar setup. You should give a try to software like tig, ag, ranger or fpp.
+++ Thanks!
Nice coincidence, just installed
tig. And I am already usingag.iterm on mac increase my productivity by 50%
What are the features you use the most?
To switch between Iterm and Chrome, hotkey: maj + space
Tmux integration is native and I'm working with Vim, then the preference / appareance / Tabs are very nice too.
I think I'm pretty good, but I always look for more idea.
You can combine iTerm2 with Oh-my-Zsh! That's my current setup.
it's mine too...
Add powerlevel9k and we've almost got the same setup. Didn't know about fzf, I'm going to add that right away. 👍🏻
Never heard of exa, but it's awesome.
How do you use machines that don't have all your new fancy commands? Eg. when you ssh to different server?
I suffer most of the time.
I recommend to (semi)automate a way to prepare a new box to suit your needs.
I use developer.atlassian.com/blog/2016/... for this and can tweek a new box within 15 minutes.
zfor navigate doesn't work on my config?Edit: I installed brew install z, but doesn't autocomplete with most folder.
you have to
cdinto directory at least once forzto work.You shouldn't need the
--color=automaticon exa, it does that automatically anyway+1 for fzf
Prezto over oh-my-zsh every time. Same idea but much more lightweight. And if you want to also trick out vim, git and zsh look at Yadr which uses Prezto.
I have been using powerline shell on my Linux for the nice help working with git. Have you tried it? :D
I like powerline, but got annoyed by the slow speed. Thankfully, a kind soul ported it over to powerline-go and gave us the speed back.
Nope, but it looks nice.
I definitively adopted Sobole, I love it :)
I use it and love it too! Great post.
Like it? I love it! Going to add my config 😉
Oh, don't forget github.com/nvbn/thefuck it's awesome :D