https://code.visualstudio.com/docs/setup/mac
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
From https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md, boils down to:
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
code ~/.zshrc
# Add the following line or extend plugins with
plugins=(zsh-autosuggestions)
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
code ~/.zshrc
# Add the following line or extend plugins with
plugins=(zsh-syntax-highlighting)
From https://medium.freecodecamp.org/jazz-up-your-zsh-terminal-in-seven-steps-a-visual-guide-e81a8fd59a38, boils down to:
# Install fonts for theme
git clone https://github.com/powerline/fonts.git
cd fonts
./install.sh
cd ..
rm -rf fonts
# Change the theme
code ~/.zshrc
ZSH_THEME="agnoster"
# Change colours
1. Open iTerm2 > Preferences > Profiles > Colors
2. Under "Color Presets" select "Tango Dark"
3. Cursor hex = a9e8e8
4. Foreground hex = c5e7e7
# Change font
1. Open iTerm2 > Preferences > Profiles > Text > Change Font
2. Select "Meslo LG S for Powerline" font
# Change background image
1. Open iTerm2 > Preferences > Profiles > Window
2. Select current Desktop background from Library > Desktop Pictures > El Capitan 2
3. Reduce blending
# Unlimited scrollback
1. Open iTerm2 > Preferences > Profiles > Terminal
1. Select checkbox "Unlimited scrollback"
code ~/.zshrc
# Add the following line
DEFAULT_USER=$USER
code ~/.zshrc
# Add the following line
GIT_COMPLETION_CHECKOUT_NO_GUESS=1
git config --global pager.branch 'false'
ssh-keygen -t rsa -C "your_email@example.com"
pbcopy < ~/.ssh/id_rsa.pub
https://github.com/lloydstubber/my-wsl-setup
https://medium.com/@ssharizal/hyper-js-oh-my-zsh-as-ubuntu-on-windows-wsl-terminal-8bf577cdbd97
Change auto suggestsion colour manaully in ~/.zshrc:
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=5'
Only fonts that worked for me were:
- DejaVu Sans Mono for Powerline
- Droid Sans Mono Dotted for Powerline
- Droid Sans Mono Slashed for Powerline
- Go Mono for Powerline