3 ms·
Long-time bash guy, I used to use just git-bash-prompt + a few dozen aliases and functions, but recently got some shell envy after seeing a coworker with powerl
by seanp2k2 10y ago
Long-time bash guy, I used to use just git-bash-prompt + a few dozen aliases and functions, but recently got some shell envy after seeing a coworker with powerline on fish. I checked out ooh my fish and it was really hard to get it to do what I wanted; things like saving a function (since aliases are defined in one with ooh my fish) took a few hours to figure out because of how homebrew installs fish on Mac. It was also overly difficult to get ^r rev search working, $(foo) didn't work, the random one-liners I'd type didn't work half the time with fish.
I switched to zsh + prezto with powerlevel9k ( https://github.com/bhilburn/powerlevel9k https://github.com/bhilburn/powerlevel9k ) and within an hour, I had something awesome. Here's a guide on installing it: http://www.codeblocq.com/2016/09/Pimp-up-iTerm-with-Zsh-and-prezto-on-Mac-OS-X/ http://www.codeblocq.com/2016/09/Pimp-up-iTerm-with-Zsh-and-... and I'd really really recommend powerlevel9k. Nothing against fish, but after a few weeks, it was just too hard to unlearn all my bashfulness, whereas in zsh it just works as it used to + had the extra functionality I got with fish + now is even more awesome and useful thanks to powerlevel9k.
- hartator 10y agoWhat's bringing powerlevel9k that's not in oh my zsh? By quickly glancing at it, it just seems to be a bloated theme with no extra features.
- jorvi 10y agoThis. I used to have that setup (Prezto + Powerlevel9k) but in the end I didn't want all sorts of needless config, and it still felt really heavy. Plus, you actually rarely use anything in the framework. Now I just use zsh + zplug (vim-plug like plugin manager) + pure zsh theme + tiny zshrc. Fast as hell, tailor-made and no-nonsense. You can check it out over here if you're interested: https://github.com/jorvi/dotfiles https://github.com/jorvi/dotfiles
- fusiongyro 10y agoIn fish, you do (foo) instead of $(foo), and to do rev search you just type something and press up. To save a function, do funcsave name. It did take me a little while to get used to fish (psub was another thing that took some googling to find) but I don't think I would go back to zsh now.