Skip to content

Instantly share code, notes, and snippets.

@evantravers
Created August 20, 2013 22:07
Show Gist options
  • Save evantravers/6287969 to your computer and use it in GitHub Desktop.
Save evantravers/6287969 to your computer and use it in GitHub Desktop.
zshrc
autoload -U colors; colors
autoload -U promptinit; promptinit
autoload -U compinit; compinit
typeset -U path
# paths are for winners
path=(
${HOME}/.rubies/bin
${HOME}/bin
$(brew --prefix)/bin
/usr/bin
/bin
$(brew --prefix)/sbin
/usr/sbin
/sbin
/usr/X11/bin
$(brew --cellar)/python
)
# set yo rubies son
source /usr/local/share/chruby/chruby.sh
chruby 2.0
# use fasd
eval "$(fasd --init posix-alias zsh-hook zsh-ccomp)"
# use emacs bindings
bindkey -e
export PS1="%{$fg[green]%}%n%{$reset_color%} %{$fg[cyan]%}%~%{$reset_color%} $(ruby --version | awk '{print $2}')
❯ "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment