aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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