fixing rvm bug

This commit is contained in:
2017-04-07 15:37:37 +02:00
parent 256de885b2
commit a1282f9e9a
2 changed files with 299 additions and 294 deletions

View File

@@ -12,3 +12,5 @@
autosetuprebase = always
[color]
ui = auto
[diff]
tool = vimdiff

View File

@@ -119,6 +119,9 @@ prompt_pure_preprompt_render() {
local git_color=242
[[ -n ${prompt_pure_git_last_dirty_check_timestamp+x} ]] && git_color=red
# Fix RVM bug, see: http://stackoverflow.com/questions/26369548/rvm-project-path-in-oh-my-zsh-prompt
hash -rd
# construct preprompt, beginning with path
local preprompt="%F{blue}%~%f"
# git info