From be92cc3029cfeb6f0a565f10c36a4e82a29e5946 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 13 May 2022 21:38:35 +0900 Subject: zsh: enable RM_STAR_WAIT for daily safety --- .zshrc | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3-70-g09d2