zsh
) is a Unix shell that is built on top of bash
(the default shell for macOS) with additional features. It's recommended to usezsh
over bash
. It's also highly recommended to install a framework withzsh
as it makes dealing with configuration, plugins and themes a lot nicer.env.sh
file where we store our aliases, exports, pathchanges etc. We put this in a separate file to not pollute our mainconfiguration file too much. This file is found in the bottom of this page.zsh
using Homebrew:zsh
is called .zshrc
and lives in your homefolder (~/.zshrc
).zsh
configuration. It comeswith a bunch of features out of the box and improves your terminal experience.zsh
to your default shell, but if itdoesn't you can do it manually:plugin
array in your .zshrc
.robbyrussell
. Just change that value to change theme,and don't forget to apply your changes.zsh
; it enriches the command line interface environment with sanedefaults, aliases, functions, auto completion, and prompt themes.~/.zshrc
by running:~/.zpreztorc
and adding the modules asstrings to the list:~/.zpreztorc
) and change to the theme you want:env.sh
env.sh
, open ~/.zshrc
and add the following:iTerm
download page.Stable Releases
to download.zip
file you downloaded and install it.Full Disk Access
permission, click Open System Preferences
on the right bottom.Security & Privacy
is activated. click the lock shape on the left bottom, and insert your password to make editable.Privacy
on the top tab, and click Full Disk Accesss
on the left list.+
button on the right side. go to Applications
, and select iTerm
and click Open
.iTerm
, click Quit Now
to quit iTerm
.iTerms2
> Preferences.
on the left top.Profiles
tab on the top. Best software to backup blueray movies mac reddit. insert /bin/zsh
in Command
on Command
section on the right middle.zsh
is executed by default.iterm2-solarized
theme.command + s
to save it.All Files
on Format
on the bottom. and check the end of the file is .itermcolors
.Profiles
> Colors
like above, and click Color Preset.
> import.
on the right bottom.Solarized Dark - Patched.itermcolors
file you downloaded above.Color Preset.
again, you can see Solarized Dark
. click it to change the theme.Powerlevel9k
. you can see the screen like below, when you execute current iTerm.Powerlevel9k
.~/.zshrc
. open it and set Powerlevel9k.ZSH_THEME='robbyrussell'
to ZSH_THEME='powerlevel9k/powerlevel9k'
and save it.?
. the question mark is shown up when the font is not set. click the link below to go to the font download site.View Raw
to download the font.Install Font
on the right bottom to install it. after installing, open Preference on iTerm again and click Profiles
> Text
> Change Font
.Meslo LG M Regular for Powerline
what we downloaded above.code
command of vscode on zsh, and zsh to vscode’s default terminal on vscode.Code
> Preferences
> Settings
on the left top of the vscode.shell
and change /bin/bash
to /bin/zsh
on Terminal > Integrated > Shell: Osx
.Edit in settings.json
instead of the screen above, click the link and add the content below.fontfamily
and set Meslo LG M for Powerline
on it like below. Was my blog helpful? Please leave a comment at the bottom. it will be a great help to me!