diff --git a/zsh/setopt.zsh b/zsh/setopt.zsh index 7b3510d..ff5eee2 100644 --- a/zsh/setopt.zsh +++ b/zsh/setopt.zsh @@ -1,3 +1,7 @@ +# ===== important +# warns when creating a global variable from inside a function +setopt warn_create_global + # ===== basics # disable beeps setopt no_beep diff --git a/zshrc b/zshrc index 8f23ba5..da107e2 100644 --- a/zshrc +++ b/zshrc @@ -1,7 +1,7 @@ # Loading keybindings first because activating Vi-bindings resets all keybinds. source ~/.zsh/keybindings.zsh -source ~/.zsh/general.zsh source ~/.zsh/setopt.zsh +source ~/.zsh/general.zsh source ~/.zsh/checks.zsh source ~/.zsh/colors.zsh source ~/.zsh/prompt.zsh