-
Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
Install iTerm2 and git
brew install --cask iterm2
brew install git
- Install Oh My Zsh
$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
-
I use Fira Code font.
In the downloaded TTF folder- Select all font files
- Right click and select Open (alternatively Open With Font Book)
- Select "Install Font"
or
Use brew and cask:
Not officially supported, might install outdated versionbrew tap homebrew/cask-fonts brew install --cask font-fira-code
-
Install powerlevel10k theme
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
-
In ~/.zshrc set the ZSH theme to use:
ZSH_THEME="powerlevel10k/powerlevel10k"
-
I have custom plugins in my ~/.zshrc
plugins=(
git zsh-autosuggestions
)
-
Restart your terminal with Zsh
-
Now you can run
p10k configure
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir vcs)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(time date battery)
POWERLEVEL9K_SHORTEN_DIR_LENGTH=2
- installed Eslint
- installed vscode-icons
- installed Git-Lens
- installed Bracket Pair Coloriser