We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3142e20 commit 77b3fcaCopy full SHA for 77b3fca
agkozak-zsh-prompt.plugin.zsh
@@ -823,7 +823,9 @@ _agkozak_preexec() {
823
############################################################
824
_agkozak_precmd() {
825
emulate -L zsh
826
- (( AGKOZAK_PROMPT_DEBUG )) && setopt LOCAL_OPTIONS WARN_CREATE_GLOBAL
+ (( AGKOZAK_PROMPT_DEBUG )) \
827
+ && [[ $ZSH_VERSION != 5.0.[0-2] ]] \
828
+ && setopt LOCAL_OPTIONS WARN_CREATE_GLOBAL
829
830
# Calculate the time it took to run the last command
831
psvar[8]=''
0 commit comments