mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-06-14 09:51:41 +00:00
Separate unsetopt from setopt for clarity.
This commit is contained in:
@ -6,13 +6,13 @@ function +vi-git-status() {
|
||||
}
|
||||
|
||||
function prompt_minimal_precmd () {
|
||||
setopt NO_XTRACE NO_KSHARRAYS LOCAL_OPTIONS
|
||||
vcs_info
|
||||
}
|
||||
|
||||
function prompt_minimal_setup() {
|
||||
setopt NO_XTRACE NO_KSHARRAYS LOCAL_OPTIONS
|
||||
prompt_opts=(cr subst percent)
|
||||
setopt LOCAL_OPTIONS
|
||||
unsetopt XTRACE KSH_ARRAYS
|
||||
prompt_opts=(cr percent subst)
|
||||
|
||||
autoload -Uz add-zsh-hook
|
||||
autoload -Uz vcs_info
|
||||
|
Reference in New Issue
Block a user