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:
parent
36dcc98533
commit
a793b01a1f
@ -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)'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user