diff --git a/themes/minimal/prompt_minimal_setup b/themes/minimal/prompt_minimal_setup
index b8fb33f..35b4343 100644
--- a/themes/minimal/prompt_minimal_setup
+++ b/themes/minimal/prompt_minimal_setup
@@ -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
diff --git a/themes/nicoulaj/prompt_nicoulaj_setup b/themes/nicoulaj/prompt_nicoulaj_setup
index bf82325..26a0783 100644
--- a/themes/nicoulaj/prompt_nicoulaj_setup
+++ b/themes/nicoulaj/prompt_nicoulaj_setup
@@ -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
diff --git a/themes/sorin/prompt_sorin_setup b/themes/sorin/prompt_sorin_setup
index fa63dcc..c04e533 100644
--- a/themes/sorin/prompt_sorin_setup
+++ b/themes/sorin/prompt_sorin_setup
@@ -6,7 +6,8 @@
 #    SCREENSHOT:  http://i.imgur.com/aipDQ.png
 # ------------------------------------------------------------------------------
 function prompt_sorin_precmd () {
-  setopt NO_XTRACE NO_KSHARRAYS LOCAL_OPTIONS
+  setopt LOCAL_OPTIONS
+  unsetopt XTRACE KSH_ARRAYS
 
   if (( $+functions[git-info] )); then
     git-info
@@ -14,8 +15,9 @@ function prompt_sorin_precmd () {
 }
 
 function prompt_sorin_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
   add-zsh-hook precmd prompt_sorin_precmd
diff --git a/themes/steeef/prompt_steeef_setup b/themes/steeef/prompt_steeef_setup
index b8cfcc9..28b2a91 100644
--- a/themes/steeef/prompt_steeef_setup
+++ b/themes/steeef/prompt_steeef_setup
@@ -45,8 +45,9 @@ function prompt_steeef_chpwd() {
 }
 
 function prompt_steeef_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