summaryrefslogtreecommitdiff
path: root/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/zshrc')
-rwxr-xr-xzsh/zshrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 7f2c51c..8bef6af 100755
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -1,5 +1,7 @@
#!/usr/bin/env zsh
+setopt +o NOMATCH # Non-existant wildcard matches won't produce an error
+
# Zsh scripts (load general scripts, then host specific scripts, then scripts prepended with !)
for zscript in "$XDG_CONFIG_HOME/zsh/zscripts"{/[^\!]*.zsh,/hosts/*.$HOST.zsh,/!*.zsh}; do source "$zscript"; done 2>/dev/null
@@ -24,7 +26,6 @@ setopt SHARE_HISTORY # Share history between zsh sessions
# Input/output settings
setopt INTERACTIVE_COMMENTS # Comments won't be interpreted in an interactive zsh session
-setopt +o NOMATCH # Non-existant wildcard matches won't produce an error
# tmp thing
[ $TTY = /dev/tty2 ] && "/home/timmy/.local/opt/shell-color-scripts/colorscripts/$(ls /home/timmy/.local/opt/shell-color-scripts/colorscripts 2>/dev/null | shuf -n1)" 2>/dev/null