mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Separate unsetopt from setopt for clarity.
This commit is contained in:
parent
9d27df2050
commit
62fc8d802e
4 changed files with 14 additions and 10 deletions
|
|
@ -11,8 +11,9 @@
|
|||
# ------------------------------------------------------------------------------
|
||||
|
||||
function prompt_nicoulaj_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)
|
||||
|
||||
# Load required modules.
|
||||
autoload -Uz add-zsh-hook
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue