Louis does dotfiles... again

Switching to Zsh

First I created a fork of Oh My Zsh and added it as a submodule to my existing dotfiles repository under a directory named .oh-my-zsh:

$ cd $HOME/Dropbox/dotfiles
$ git submodule add https://github.com/ltiao/oh-my-zsh.git .oh-my-zsh

Since my dotfiles repo is a fork of Mathias Bynen's dotfiles, which is primarily for bash, there shouldn't be any conflicts. In fact, we should be able to switch seamlessly between using zsh and bash as the default shell.

$ cp .oh-my-zsh/templates/zshrc.zsh-template .zshrc
$ vim .zshrc
export ZSH=$HOME/Dropbox/dotfiles/.oh-my-zsh

Add or modify files in .oh-my-zsh/custom

Commit and push

$ stow --simulate --verbose=1 --ignore='(gitmodules|oh-my-zsh)' --dir=/Users/ltiao/Dropbox dotfiles
$ stow --verbose=1 --ignore='(gitmodules|oh-my-zsh)' --dir=/Users/ltiao/Dropbox dotfiles
$ chsh -s /bin/zsh

Switching to iTerm2

  1. Download and install iTerm2

  2. Key shortcuts

  3. Solarized Dark:

    $ curl -o "Solarized Dark.itermcolors" https://raw.githubusercontent.com/altercation/solarized/master/iterm2-colors-solarized/Solarized%20Dark.itermcolors
    

    Tomorrow Night Eighties:

    $ curl -o "Tomorrow Night Eighties.itermcolors" https://raw.githubusercontent.com/chriskempson/tomorrow-theme/master/iTerm2/Tomorrow%20Night%20Eighties.itermcolors
    
  1. Background Opacity
  2. Background dimming, animation

Themes

Bullet Train for oh-my-zsh

$ cd .oh-my-zsh/custom/themes/
$ curl -O https://raw.githubusercontent.com/caiogondim/bullet-train-oh-my-zsh-theme/master/bullet-train.zsh-theme
ZSH_THEME="bullet-train"

Powerline-compatible Fonts

  1. Download Powerline fonts

  2. Install a font. "Meslo LG S Regular for Powerline" is probably just as good as any.

    ../../images/install_font.thumbnail.png
  3. Configure iTerm2 to use font

    ../../images/iterm2_font.thumbnail.png

Comments

Comments powered by Disqus