My Configuration Files
Paste url in terminal if you don't have Homebrew already installed
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew cask install iterm2
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
Then edit your ~/.zshrc
and set ZSH_THEME="powerlevel10k/powerlevel10k"
.
First Install Source Code Pro
- Source Code Pro + Font Awesome, this one is needed if you want the icons from Font Awesome as shown in the screenshot for Powerlevel10k. Open the downloaded font and press "Install Font".
After go to:
Copy and paste these commands to your terminal. Comments are fine too.
# clone
git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
# clean-up a bit
cd ..
rm -rf fonts
Set Source Code Pro for Powerline in iTerm2 (iTerm → Preferences → Profiles → Text → Change Font) Set in Solarized Dark (iTerm → Preferences → Profiles → Text → Change Color Presets)
Restart iTerm2 for all changes to take effect.
After completing the wizard and choosing the style you wantm your iTerm2 should look similar to this:
Go to iTerm Preferences → Profiles, select your profile, then the Keys tab. Find ⌥← and ⌥→ and set them to send escape sequence b and send escape sequence f respectively.
Go to iTerm Preferences → Keys Find ←⌘ and ⌘→ set them to send hex code 0x01 and send hex code 0x05 respectively.Also add if it doesn't exist ⌘ + backspace to send hex code 0x15.
OR: Go to iTerm Preferences → Profiles, select your profile, then the Keys tab. Click Load Preset... and choose Natural Text Editing.
Open settings.json on your visual studio code and paste:
{ "terminal.integrated.fontFamily": "MesloLGS NF" }