1
0
mirror of https://github.com/danbee/dotfiles-local synced 2025-03-04 08:49:07 +00:00

Remove tools version stuff

This commit is contained in:
Daniel Barber 2018-01-22 22:17:06 -05:00
parent 36dcc98533
commit a793b01a1f
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -17,16 +17,6 @@ git_prompt_info() {
fi
}
# adds the current ruby version in yellow
ruby_version() {
if (( $+commands[rbenv] )); then
ver=$(rbenv version |cut -d " " -f 1)
if [[ -n $ver ]]; then
echo "%{$fg[red]%}${ver}%{$reset_color%}"
fi
fi
}
# makes color constants available
autoload -U colors
colors
@ -39,4 +29,3 @@ setopt promptsubst
# prompt
export PROMPT='$(git_prompt_info)${SSH_CONNECTION+"%{$fg[yellow]%}%n@%m%{$reset_color%}:"}%{$fg_bold[blue]%}%2c%{$reset_color%} %{$fg_bold[cyan]%}%{$reset_color%} '
export RPROMPT='$(ruby_version)'