1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 17:28:01 +00:00

Rename completion indicator

This commit is contained in:
Sorin Ionescu 2012-03-28 20:03:40 -04:00
parent 6727edd536
commit f1bcae7fae
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ zstyle ':omz:prompt:vi' insert '>>>'
zstyle ':omz:prompt:vi' command '<<<'
# Indicator to notify of generating completion.
zstyle ':omz:completion' indicator '...'
zstyle ':omz:editor' completing '...'
# Beep on error in line editor.
setopt BEEP
@ -96,7 +96,7 @@ zle -N expand-dot-to-parent-directory-path
# Displays an indicator when completing.
function expand-or-complete-with-indicator {
local indicator
zstyle -s ':omz:completion' indicator 'indicator'
zstyle -s ':omz:editor' completing 'indicator'
print -Pn "$indicator"
zle expand-or-complete-prefix
zle redisplay

View File

@ -25,7 +25,7 @@ function prompt_sorin_setup {
autoload -Uz add-zsh-hook
add-zsh-hook precmd prompt_sorin_precmd
zstyle ':omz:completion' indicator '%B%F{red}...%f%b'
zstyle ':omz:editor' completing '%B%F{red}...%f%b'
zstyle ':omz:prompt:vi' insert ''
zstyle ':omz:prompt:vi' command ' %F{yellow}%f%B%F{red}%f%b%F{red}%f'
zstyle ':omz:plugin:git:prompt' action ':%%B%F{yellow}%s%f%%b'