X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/294ed44e1a8dd7a6026213380c41bceb1a4a162a..d2204ed1a0eb3ea915d866ba10b7e36481774f9f:/etc/zsh/functions/Prompts/prompt_arrows_setup?ds=sidebyside diff --git a/etc/zsh/functions/Prompts/prompt_arrows_setup b/etc/zsh/functions/Prompts/prompt_arrows_setup index 9c59b8f..991332d 100644 --- a/etc/zsh/functions/Prompts/prompt_arrows_setup +++ b/etc/zsh/functions/Prompts/prompt_arrows_setup @@ -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() {