![]() Once installed, you can set zsh as the default shell using: chsh -s $(which zsh). If not, you can follow this guide to install a more recent version of zsh using homebrew. ![]() If the version is 4.3.9 or higher, you should be good to go (we’ll need at least this version to install Oh My Zsh later on). You can check if this is the case and if so, which version you are running using the command: zsh -version. Most versions of macOS ship with zsh pre-installed. If you get stuck installing zsh, there is plenty of help available online.Īt the time of writing the current zsh version is 5.7.1. The biggest problems you’ll run into on other systems will probably stem from your getting used to your local system’s special functionality & aliases (by prezto or your own making), which won’t work on other systems, of course.I don’t want to offer in-depth installation instructions for each operating system, rather some general guidelines instead. But I don’t really see the need, because zsh seems ubiqitous nowadays: just execute `chsh -s “$(command -v zsh)”` on the other system, and you’re good to go with zsh. a shell that will enable you to operate on any real Unix system, you’ll still need bash or ksh/mksh. Not sure, though, but I heard that zsh is allegedly not POSIX-compliant. Couple that with some nice aliases, zsh-completions, and a well-oiled iTerm instead of macOS Terminal, plus Apple’s SF Mono font for your individual theme, and you have imho a great combination that looks and feels fantastic, but still “like Apple”. I use a Homebrew install of always the latest zsh (/usr/local/bin/zsh) together with prezto (also available on GitHub), which is a fork of oh-my-zsh meant to be cleaner & saner i.a. ITERM THEMES ZSH MAC OSNow that you have zsh as your default shell in MacOS or Mac OS X, you may want to take a look at the great oh-my-zsh project at to find themes, functions, and other customizations to bring to zsh. You can also change iTerm, the popular Terminal replacement, to use zsh as the default shell by going to the app Preferences and adjusting Profiles > General > Command to ‘zsh’ Yes there are other ways to do this, but interestingly enough, specifying a shell to open actually helps to speed up the Terminal app in Mac OS in many cases, so it may offer a performance boost as well (for the record, it doesn’t need to be zsh to get the speed improvement, you can change the default shell to anything available on the Mac for the same effect). This change to zsh as the default shell will persist between quitting and relaunching Terminal, though any currently active shells or terminal windows would need to refresh or manually enter zsh.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |