Created
August 20, 2013 22:07
-
-
Save evantravers/6287969 to your computer and use it in GitHub Desktop.
zshrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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