]> git.r.bdr.sh - rbdr/dotfiles/commitdiff
Remove ruby prompt
authorBen Beltran <redacted>
Thu, 2 Mar 2017 19:08:03 +0000 (13:08 -0600)
committerBen Beltran <redacted>
Thu, 2 Mar 2017 19:08:03 +0000 (13:08 -0600)
prompt_ben_setup

index 3c16c78c3a33fe7fdde167ee5d01604722213dd5..63706cfb6fc3afb7e2ad9bad13ec53a882e75a49 100644 (file)
@@ -2,10 +2,6 @@ function prompt_ben_precmd {
   git-info
 }
 
-function rvm_info {
-  echo '('`rvm-prompt v p g`')'
-}
-
 function virtualenv_info {
   if [[ -z "$VIRTUAL_ENV" ]]; then
     venv="default"
@@ -51,7 +47,7 @@ function prompt_ben_setup {
 
   # Define prompts.
   PROMPT='
-%{%F{red}%}%n%{%f%}@%{%F{yellow}%}$(box_name)%{%f%} %{%B%F{green}%}${PWD/#$HOME/~}%{%f%b%}${git_info[prompt]} %{%F{black}%}$(rvm_info)$(virtualenv_info)%{%f%}
+%{%F{red}%}%n%{%f%}@%{%F{yellow}%}$(box_name)%{%f%} %{%B%F{green}%}${PWD/#$HOME/~}%{%f%b%}${git_info[prompt]} %{%F{black}%}$(virtualenv_info)%{%f%}
 %(?,,%{${%B%F{white}%}[%?]%{%f%b%} )$ '
 }