Last active
April 22, 2022 09:58
-
-
Save ukdave/96a0a97f277483e92f0b068705960e54 to your computer and use it in GitHub Desktop.
Pimp my shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install oh-my-zsh | |
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
# Install powerlevel 10k theme: | |
$ git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k | |
$ brew tap homebrew/cask-fonts | |
$ brew install --cask font-hack-nerd-font | |
# Add this to ~/.zshrc | |
ZSH_THEME="powerlevel10k/powerlevel10k" | |
# iTerm2 Settings: | |
# Font: Hack Nerd Font (12pt, 110% vertical space) | |
# Use thin strokes for anti-aliased fonts: Always | |
# Colour Scheme: Brogrammer | |
$ curl -O https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/schemes/Brogrammer.itermcolors | |
# Install grc and warhol plugin for colourised command output (add "warhol" to plugins in ~/.zshrc): | |
$ brew install grc | |
$ git clone https://github.com/unixorn/warhol.plugin.zsh.git ~/.oh-my-zsh/custom/plugins/warhol | |
# Auto-suggestions and syntax highlighting | |
brew install zsh-autosuggestions zsh-fast-syntax-highlighting | |
# Add this to the bottom of ~/.zshrc: | |
source /usr/local/opt/zsh-fast-syntax-highlighting/share/zsh-fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh | |
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE=fg=240 | |
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment