Skip to content

Commit

Permalink
added ruby paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher LILJENSTOLPE committed Mar 12, 2013
1 parent 3aff922 commit ea10155
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion themes/cdl.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $(virtualenv_info)$(prompt_char) '
return_code="%(?..%{$fg[red]%} [%?] %{$reset_color%})"

# Loads rvm info to the right side of the zsh prompt showing: ruby-version@gemset-name
# RPROMPT='$(~/.rvm/bin/rvm-prompt)'
RPROMPT='$(rvm-prompt)'

# Displays different symbols (simultaneously) depending on the current status of your git repo.
ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%} ✚"
Expand Down
6 changes: 4 additions & 2 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,18 @@ export PATH=$PATH:/usr/local/git/bin
export PATH=$PATH:/usr/texbin
export PATH=$PATH:/usr/local/sbin
export PATH=$PATH:/opt/local/sbin
export PATH=$PATH:/usr/local/rvm/bin
export PATH=$PATH:/usr/bin
export PATH=$PATH:/bin:
export PATH=$PATH:/bin
export PATH=$PATH:/usr/sbin
export PATH=$PATH:/sbin

#manpath setting
export MANPATH=/usr/local/share/man
export MANPATH=$MANPATH:/usr/local/man
export MANPATH=$MANPATH:/opt/local/man
export MANPATH=$MANPATH:/usr/local/rvm/man
export MANPATH=$MANPATH:`/usr/bin/manpath -q`

#rvm scripts if they exist
[[ -s "/Users/cdl/.rvm/scripts/rvm" ]] && source "/Users/cdl/.rvm/scripts/rvm"
[[ -s "/usr/local/rvm/scripts/rvm" ]] && source "/usr/local/rvm/scripts/rvm"

0 comments on commit ea10155

Please sign in to comment.