aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2022-05-13 21:38:35 +0900
committernsfisis <nsfisis@gmail.com>2022-05-14 05:35:36 +0900
commitbe92cc3029cfeb6f0a565f10c36a4e82a29e5946 (patch)
tree0f449355c574a82a4d65c9344b6542a0803acc16
parentc6a2d1c6f2f9c0e4d327824fb23dc7d58a99dca9 (diff)
downloaddotfiles-be92cc3029cfeb6f0a565f10c36a4e82a29e5946.tar.gz
dotfiles-be92cc3029cfeb6f0a565f10c36a4e82a29e5946.tar.zst
dotfiles-be92cc3029cfeb6f0a565f10c36a4e82a29e5946.zip
zsh: enable RM_STAR_WAIT for daily safety
-rw-r--r--.zshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 6461ac5..eafcfa5 100644
--- a/.zshrc
+++ b/.zshrc
@@ -149,6 +149,8 @@ setopt IGNORE_EOF
# Regard '#' as comment even in interactive mode.
setopt INTERACTIVE_COMMENTS
+# Wait 10 seconds before executing `rm *` or `rm path/*`.
+setopt RM_STAR_WAIT
# Allow the short form of the loop statement.
setopt SHORT_LOOPS