Skip to content

theocikos/ConfigFiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

ConfigFiles

My Configuration Files

iTerm2 Customization

Install Homebrew

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)"

Install iterm2

brew cask install iterm2

Oh My Zsh

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Powerlevel9k / Powerlevel10k

git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

Then edit your ~/.zshrc and set ZSH_THEME="powerlevel10k/powerlevel10k".

Install a patched font

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:

Screenshot 2019-12-06 at 12 21 52 PM

To enable shortcuts for navigation in iTerm2 go to:

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.

Change font for Visual studio code:

Open settings.json on your visual studio code and paste: { "terminal.integrated.fontFamily": "MesloLGS NF" }

Releases

No releases published

Packages

No packages published

Languages