I'm a professional programmer and I'm using the Oh My Zsh shell for more than 5 years on Linux as well as Mac OS devices. The productivity and the joy of working with it is just so much better than with the default shell.
If you don't have Oh My ZSH installed yet, install it via:
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Here my recommendation for the configuration file .zshrc
:
plugins=(
git
zsh-autosuggestions
autojump
)
While git
is installed by default, zsh-autosuggestions
and autojump
need to be installed manually:
- zsh-autosuggestions:
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
see also here - autojump:
sudo apt install autojump
on Linux orbrew install autojump
on Mac OS, see also here
Make sure to restart your shell after the ZSH config file was changed, in order for the changes to be available.
Explanation:
git
always makes it visible when your current folder is a Git project. Furthermore it shows the current branch and whether you have changed files. Espacially useful are also the aliases for the most important git commands likegp
forgit push
zsh-autosuggestions
previews possible autocompletion options while you're typingautojump
allows you to quickly jump to your most important directories