/.dotfiles

Dotfiles for Simon (zsh, oh-my-zsh, antigen)

Primary LanguageShell

#Dotfiles for Simon Based on Zsh, Oh-My-Zsh and Antigen

##Installation Pre-requisites not detailled here: zsh, python, pip, git

cd
git clone https://github.com/simonbasle/.dotfiles.git .dotfiles
ln -s ~/.dotfiles/zshrc .zshrc
cd .dotfiles/
git submodule init
git submodule update
cd

Install modules pre-requisites in linux/babun

#required by the zshrc
sudo apt-get install bc

sudo apt-get install command-not-found
sudo apt-file update
sudo update-command-not-found

pip install Pygments

#required by glyph heavy themes
sudo apt-get install socat
pip install powerline-status

Install module pre-requisites in osx

#install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

#use GNU command line utilities
brew install coreutils

#pip and python through HomeBrew
brew install python

#required by glyph-heavy themes
brew install socat
pip install Pygments
pip install powerline-status

Launch zsh

zsh

Once everything is good and verified, set zsh as shell

chsh -s /bin/zsh

Themes and Fonts

Download a Powerline-patched font

Like DejaVu Sans Mono for Powerline. Or Menlo for Powerline.

OSX

Install the powerline font by double-clicking it then select it as the default font in Terminal.

Install Solarized for OSX Terminal from this repository.

Putty

  • Check "Allow selection of variable-pitch fonts"
  • Use font DejaVu Sans Mono for Powerline size 10
  • Use cleartype
  • Set translation encoding to UTF-8
  • Ensure that xterm-256color is allowed in colors configuration

Solarized dark theme on putty saved session

Create a .reg file with content below. Replace PUTTYCONFIG by the name of the putty saved session you want to colorize:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\Raspberry]
"Colour0"="131,148,150"
"Colour1"="147,161,161"
"Colour2"="0,43,54"
"Colour3"="7,54,66"
"Colour4"="0,43,54"
"Colour5"="238,232,213"
"Colour6"="7,54,66"
"Colour7"="0,43,54"
"Colour8"="220,50,47"
"Colour9"="203,75,22"
"Colour10"="133,153,0"
"Colour11"="88,110,117"
"Colour12"="181,137,0"
"Colour13"="101,123,131"
"Colour14"="38,139,210"
"Colour15"="131,148,150"
"Colour16"="211,54,130"
"Colour17"="108,113,196"
"Colour18"="42,161,152"
"Colour19"="147,161,161"
"Colour20"="238,232,213"
"Colour21"="253,246,227"

That's the Solarized Dark theme as found on Solarized github's putty section.

Babun

Babun uses Mintty. Use the DejaVu Sans Mono for Powerline font.

Babun should be detected and the Solarized Dark theme applied, see Solarized for Mintty.