fixing rvm bug
This commit is contained in:
@@ -12,3 +12,5 @@
|
||||
autosetuprebase = always
|
||||
[color]
|
||||
ui = auto
|
||||
[diff]
|
||||
tool = vimdiff
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user