# Railscast http://railscasts.com/episodes/308-oh-my-zsh # Install Zsh sudo apt-get update && sudo apt-get install zsh # Install Oh-my-zsh wget –no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O – | sh # Make ZSH default shell chsh -s /bin/zsh # Install Agnoster Theme https://gist.github.com/agnoster/3712874 # ~/.zshrc ZSH_THEME="leemour" # in .zshrc add user to hide user from command prompt DEFAULT_USER=leemour # Copy patched Menlo font to /usr/share/fonts/truetype from this link: https://gist.github.com/qrush/1595572 # Install font for missing chars # Some fonts here, but don't work - https://github.com/Lokaltog/powerline-fonts # Ubuntu took missing chars from patched menlo. I also did this: https://powerline.readthedocs.org/en/latest/installation/linux.html#font-installation # Refresh font cache: fc-cache -f -v # then restart if haven't yet # Add aliases from .bashrc # Change colors to solarized https://github.com/sigurdga/gnome-terminal-colors-solarized git clone git://github.com/sigurdga/gnome-terminal-colors-solarized.git ~/.solarized cd ~/.solarized ./solarize # Change Dircolors https://github.com/seebi/dircolors-solarized Copy dircolors.ansi-dark to ~/.solarized # Add to ~/.zshrc eval `dircolors ~/.solarized/dircolors.ansi-dark` # Change Agnoster theme to Leemour and add right prompt to show Time and Ruby version RPROMPT="\$(~/.rvm/bin/rvm-prompt s i v g)%{$fg[yellow]%}[%*]" # Add plugins plugins=(git rails rails3 ruby capistrano bundler heroku rake rvm autojump command-not-found python pip github gnu-utils history-substring-search zsh-syntax-highlighting)