Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Zsh installation and Agnoster theme settings
# Railscast
# Install Zsh
sudo apt-get update && sudo apt-get install zsh
# Install Oh-my-zsh
wget –no-check-certificate -O – | sh
# Make ZSH default shell
chsh -s /bin/zsh
# Install Agnoster Theme
# ~/.zshrc
# in .zshrc add user to hide user from command prompt
# Copy patched Menlo font to /usr/share/fonts/truetype from this link:
# Install font for missing chars
# Some fonts here, but don't work -
# Ubuntu took missing chars from patched menlo. I also did this:
# Refresh font cache:
fc-cache -f -v
# then restart if haven't yet
# Add aliases from .bashrc
# Change colors to solarized
git clone git:// ~/.solarized
cd ~/.solarized
# Change Dircolors
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment