sh -c "$(curl -fsSL )" Install Fonts and Ligatures The installation command are the same for Ubuntu and MacOS. Select option (2) to start with the default configuration Launch Zsh and go through through the first-time setup process. type "y" to accept and then check that it was installed correctly Open a terminal window and install zsh and make it your default shell. I’m using Ubuntu running on WSL 2 in this example. Install Zsh Shell and Oh My Zsh – Windows 10īefore you begin, make sure you have enabled the Windows Subsystem for Linux. The terminal should start up with the default Oh My Zsh theme. Next download and install Oh My Zsh using the command below: sh -c "$(curl -fsSL )"Ĭlose the terminal and reopen it. I found this to be a good way to get familiar with zsh while still having bash as the default in the Mac terminal. Once you are happy with your settings in the zsh shell, run the following command to set your default chsh -s /bin/zshĪlternatively, you can use a different terminal such as iTerm2 and configure it to use zsh by default. You will be prompted to update your default shell to zsh. Open the terminal, click Terminal -> Preferences and for the setting “Shells open with”, select the option “Command (complete path)” and enter “/bin/zsh”.Ĭlose and launch a new Terminal window. If you are using bash as your default shell, you can experiment with zsh and Oh My Zsh without changing your default settings. Oh My Zsh requires that the zsh shell be installed. ![]() Starting with the Catalina update, zsh is the default shell on Macs and WSL 2 became available on Windows 10 in 2020 (and a native Linux GUI is apparently coming to Windows soon), so it seemed like a good time to dig deeper and learn how to use zsh shell. Many developers rave about Oh My Zsh, an open-source, community-driven framework built on top of the zsh shell and playing around with Oh My Zsh has been on my bucket list for some time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |