]> git.sev.monster Git - dotfiles.git/blobdiff - etc/zsh/functions/Prompts/prompt_arrows_setup
zshrc: add more git stash aliases
[dotfiles.git] / etc / zsh / functions / Prompts / prompt_arrows_setup
index 8c280f492051e62a71d20014e9b61c1754c329e2..991332dd7df9138c3f036c725e7000fb18909727 100644 (file)
@@ -68,7 +68,7 @@ function prompt_arrows_setup() {
             PROMPT="%F{$c}>>> $hist"
             ;;
         *)
-            echo "Unknown prompt mode $m"
+            echo -E "Unknown prompt mode $m"
             return
             ;;
     }
@@ -105,15 +105,15 @@ function prompt_arrows_precmd {
 }
 
 function prompt_arrows_preview {
-  if (( ! $#* )); then
-    prompt_preview_theme arrows 2line
-    print '\n'
-    prompt_preview_theme arrows right
-    print
-  else
-    prompt_preview_theme arrows "$@"
-    print
-  fi
+    if (( ! $#* )) {
+        prompt_preview_theme arrows 2line
+        print '\n'
+        prompt_preview_theme arrows right
+        print
+    } else {
+        prompt_preview_theme arrows "$@"
+        print
+    }
 }
 
 function +vi-prompt_arrows_revertfix() {
This page took 0.045925 seconds and 4 git commands to generate.