I have just installed ZSH shell using Homebrew to learn some new Unix shell tricks on my Macbook Pro. Next up is Oh My ZSH. Since this is the official Oh My ZSH installer, it should work on most Linux distros, but I tested it on my Macbook Pro running MacOS Mojave.
Install Oh My ZSH using curl
This command assumes you have curl command installed on your system, curl comes pre-installed with macOS but you may need to install it separately in Linux:
greys@maverick:/ $ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" Cloning Oh My Zsh... Cloning into '/Users/greys/.oh-my-zsh'... remote: Enumerating objects: 1042, done. remote: Counting objects: 100% (1042/1042), done. remote: Compressing objects: 100% (959/959), done. remote: Total 1042 (delta 23), reused 848 (delta 20), pack-reused 0 Receiving objects: 100% (1042/1042), 692.46 KiB | 1.67 MiB/s, done. Resolving deltas: 100% (23/23), done. Looking for an existing zsh config... Using the Oh My Zsh template file and adding it to ~/.zshrc. Time to change your default shell to zsh: Do you want to change your default shell to zsh? [Y/n] n Shell change skipped.
And just like that, we're done:
Leave a Reply