X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/6698a8a0d2da74a08c95a2c5289e9e2e771efdee..ad7c4bae9781483a15c2a11c9db247edf7c3c365:/.zsh/zshrc/00_varsetup diff --git a/.zsh/zshrc/00_varsetup b/.zsh/zshrc/00_varsetup index 68ec386..a49f67d 100644 --- a/.zsh/zshrc/00_varsetup +++ b/.zsh/zshrc/00_varsetup @@ -16,4 +16,7 @@ typeset -ga preexec_functions typeset -ga precmd_functions typeset -ga chpwd_functions +# warn on accidental creation of global variables +setopt warn_create_global + # vim:ft=zsh