Skip to content

Commit 1408d5a

Browse files
committed
Revert "Warn about bad variable usage pattern for Zsh"
This reverts commit 42332c6. Reason: maintainer of zsh-syntax-highlighting [doesn’t like][1] `warn_nested_var`. The other option, `warn_create_global`, might be fine, but more experiments should be done with it. [1]: zsh-users/zsh-syntax-highlighting#781 (comment)
1 parent 42332c6 commit 1408d5a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

zsh/config.zsh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ zstyle ':completion:*' cache-path ~/.cache/zsh
2020

2121
setopt extended_history \
2222
hist_ignore_dups hist_ignore_space hist_no_store hist_reduce_blanks \
23-
inc_append_history_time list_packed numeric_glob_sort print_exit_value \
24-
warn_create_global warn_nested_var
23+
inc_append_history_time list_packed numeric_glob_sort print_exit_value
2524
autoload -Uz add-zsh-hook
2625
source ~/.config/zsh/report-completion.zsh
2726

0 commit comments

Comments
 (0)