How to Install Oh My Zsh on Mac
how install oh my zsh mac looking to spice up your Terminal? Oh My Zsh is a popular zsh configuration manager that enables you to use themes and plugins so you can add handy features right in your command line. Oh My Zsh is essentially a framework into which all kinds of plugins are loaded, and the plugin management system is actually very flexible, allowing you adjust the list of plugins that load at startup as well as allowing you to disable or even uninstall specific plugins using simple commands. As well as providing lots of useful commands and helpers, Oh My Zsh also comes with some nice built-in themes which it uses to make text within the command line interface easier on the eyes. Overall we think it’s an interesting project worth checking out if ever you spend plenty of time dealing with the command line whether for development, administration, or just messing around in Linux.
Users now have the choice of what shell they would like to use in Terminal. While zsh is now the default shell in Terminal app for macOS, Oh My Zsh is available as a separate downloadable application and users must enable it in order to take advantage of its features. Note that Oh My Zsh acts independently of Terminal and that users should ensure they are familiar with proper configuration techniques before using it.
To get started, launch the Command Prompt / Terminal application by clicking on your Start menu and typing in “launch” (without quotes) followed by hitting either the Enter or Return key.
Copying and pasting is an easy way to create a new file within a folder, but what if you want to just add one line to that file? Here’s how you can do it by adding the following “1” character at the beginning of the file in your terminal prompt:
Setting up zsh on a remote device (e.g., your workstation) is as easy as running an ftp client like winscp or FileZilla and uploading install.sh to the device in a folder of your choice, though you may find it easier to drop it in /usr/local/bin for convenience. Do note that Windows FTP clients are known to suffer from line-endings issues so if you’re having difficulties when transferring files from one location to another, simply convert all the files you’re planning on transferring to Linux line endings manually first before moving them over (you can use online converters such as these http://www.kitchentablecomputers.com/unix2dos.php for example).
You’ll be asked if you want Oh-My-Zsh to be the default shell, so choose “Y” if that is what you intend.
Wow! Oh My Zsh is really cool – did you notice that? An amusing fact to know is that it immediately opens upon successful installation. Did you know that Oh My Zsh have a Wiki documentation which contains useful information about customizing plugins, themes, and configuration for fun purposes? Here is the link if you want to check it out: https://github.com/robbyrussell/oh-my-zsh/wiki/Related-projects#wiki
After installing Oh My Zsh you will be greeted to a friendly message telling you to either do something or cover your ears. With that said, I’ll warn you again that this application is not for the faint of heart in many cases it doesn’t even have its own .zshrc configuration file. In essence what this means is that Oh My Zsh will look for /.zshrc relative to your home directory and if it can’t find that file then OhMyZsh will use its own configuration file instead which isn’t always desirable nor necessary in cases where customizations need to be made.
Oh My Zsh is a popular and helpful tool, but there are other similar applications like zsh (which might be installed on machines by default) so here’s what you can do to enable it. First, open up a terminal window and type in `shell`. You should see `zsh` in the top left corner of your Terminal Window if everything worked correctly. If not, that means that you need to download and install zsh like so: http://mxcl.github.io/homebrew/
Oh My Zsh! comes installed by default with a host of useful plugins and themes.