aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:53:29 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:53:29 +0100
commit8ec7230701c2f5421906f96bbddbbe9d74f91747 (patch)
treec28f2af5dc9fd04caa3967118b32fab2c8908fda
parent0e312f2dce53565a7dbe7ece9b937aa82e26c9c4 (diff)
downloaddotfiles-8ec7230701c2f5421906f96bbddbbe9d74f91747.tar.gz
dotfiles-8ec7230701c2f5421906f96bbddbbe9d74f91747.tar.bz2
dotfiles-8ec7230701c2f5421906f96bbddbbe9d74f91747.zip
chore: remove redundant setopts (already zsh defaults)
appendhistory (<D>), nomatch (<C><Z>), and notify (<Z>) are all set by default in zsh emulation. Add a comment noting this for reference.
-rw-r--r--home/.config/zsh/.zshrc4
1 files changed, 1 insertions, 3 deletions
diff --git a/home/.config/zsh/.zshrc b/home/.config/zsh/.zshrc
index 00b8012..1bd253e 100644
--- a/home/.config/zsh/.zshrc
+++ b/home/.config/zsh/.zshrc
@@ -5,11 +5,9 @@ stty -ixon # disable XON/XOFF flow control (frees Ctrl-S/Ctrl-Q)
ttyctl -f # freeze terminal state; programs can't leave it broken
# ── Options ───────────────────────────────────────────────────────────────────
-setopt appendhistory # append to history file, don't overwrite
+# Note: appendhistory, nomatch, notify are zsh defaults — not set here.
setopt autocd # cd by typing directory name
setopt extendedglob # extended glob patterns (#, ~, ^)
-setopt nomatch # error on unmatched glob patterns
-setopt notify # report background job status immediately
setopt interactivecomments # allow # comments in interactive shell
setopt rmstarsilent # don't confirm rm *
setopt prompt_subst # expand variables/functions in prompt