Zsh is a Unix shell based on the Bourne shell, like bash.
Use homebrew to install Zsh:
$ brew install zsh
To set it as your default shell:
$ sudo sh -c "echo $(which zsh) >> /etc/shells" && chsh -s $(which zsh)
Oh My Zsh
Oh My Zsh is a delightful, open source, community-driven framework for managing your Zsh configuration.
To install, use this:
$ curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
Plugins are installed using Oh My Zsh and the
z: "Zsh-z is a command line tool that allows you to jump quickly to directories that you have visited frequently in the past, or recently -- but most often a combination of the two (a concept known as "frecency"). It works by keeping track of when you go to directories and how much time you spend in them."
- Git shortcuts:
gitis aliased to
gand many of the most used commands are aliased as well, like
git add .and
git commit -m, etc. You can find a list of the shortcuts here.
Last modified: 202110232329