summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-16 11:33:53 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-16 11:33:53 +0300
commit38da6a3c9b9dbdd3c93fce2c543f2cf4939193ea (patch)
tree4b79a5cb86fceb87976ea350fc52e0fb4e67e639
parent06aa8da96e68d6e9aaaee065c34e1e96520e20d5 (diff)
tabs to spaces
-rwxr-xr-xinternal/p10k.zsh20
1 files changed, 10 insertions, 10 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 9e0630e6..c7cc6c4d 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -2810,22 +2810,22 @@ _p9k_wrap_zle_widget() {
local hook=$2
local orig=p9k-orig-$widget
case $widgets[$widget] in
- user:*)
- zle -N $orig ${widgets[$widget]#user:}
- ;;
- builtin)
- eval "_p9k_orig_${(q)widget}() { zle .${(q)widget} }"
- zle -N $orig _p9k_orig_$widget
- ;;
- esac
+ user:*)
+ zle -N $orig ${widgets[$widget]#user:}
+ ;;
+ builtin)
+ eval "_p9k_orig_${(q)widget}() { zle .${(q)widget} }"
+ zle -N $orig _p9k_orig_$widget
+ ;;
+ esac
local wrapper=_p9k_wrapper_$widget_$hook
eval "function ${(q)wrapper}() {
${(q)hook} \"\$@\"
(( \$+widgets[${(q)orig}] )) && zle ${(q)orig} -- \"\$@\"
- }"
+ }"
- zle -N -- $widget $wrapper
+ zle -N -- $widget $wrapper
}
_p9k_init() {