From 8ddfc06a7b95b50a12668f82bd665b31f6dd2e81 Mon Sep 17 00:00:00 2001 From: chenwl Date: Tue, 21 Mar 2017 23:59:10 +0800 Subject: [PATCH] Update vi-mode.plugin.zsh --- plugins/vi-mode/vi-mode.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/vi-mode/vi-mode.plugin.zsh b/plugins/vi-mode/vi-mode.plugin.zsh index 82a2f304..a5097599 100644 --- a/plugins/vi-mode/vi-mode.plugin.zsh +++ b/plugins/vi-mode/vi-mode.plugin.zsh @@ -46,5 +46,5 @@ function vi_mode_prompt_info() { # define right prompt, if it wasn't defined by a theme if [[ "$RPS1" == "" && "$RPROMPT" == "" ]]; then - RPS1='$(vi_mode_prompt_info)' + RPS1="$(vi_mode_prompt_info)" fi