Check VIMRUNTIME instead
This commit is contained in:
@@ -196,7 +196,7 @@ function powerline_battery_status_prompt {
|
||||
}
|
||||
|
||||
function powerline_in_vim_prompt {
|
||||
if [ -z "$MYVIMRC" ]; then
|
||||
if [ -z "$VIMRUNTIME" ]; then
|
||||
IN_VIM_PROMPT=""
|
||||
else
|
||||
IN_VIM_PROMPT="$(set_rgb_color - ${IN_VIM_PROMPT_COLOR}) ${IN_VIM_PROMPT_TEXT} "
|
||||
|
||||
Reference in New Issue
Block a user