Permalink
Browse files

tweaking prompt

  • Loading branch information...
1 parent a3d462f commit 826066f5c96efb4f3e1b5bc916465f571d583994 @MarkBorcherding committed Apr 6, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 zsh/zshrc
View
@@ -49,7 +49,7 @@ setopt prompt_subst
local smiley="%(?,%{$fg[green]%}☺%{$reset_color%},%{$fg[red]%}☹%{$reset_color%})"
PROMPT='
-%{$terminfo[bold]%}%{$fg[black]%}$(whoami)@$(hostname)%{$reset_color%} %~
+$(display-rails-env)%{$terminfo[bold]%}%{$fg[black]%}$(whoami)@$(hostname)%{$reset_color%} %~
${smiley} %{$reset_color%}'
RPROMPT='%{$fg[white]%} $(~/.rvm/bin/rvm-prompt)$(~/bin/git-cwd-info.rb)%{$reset_color%}'
@@ -65,3 +65,5 @@ compinit
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.
[[ -s $HOME/.pythonbrew/etc/bashrc ]] && source $HOME/.pythonbrew/etc/bashrc
+
+PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting

0 comments on commit 826066f

Please sign in to comment.