zsh: remove rm-related safety checks

This commit is contained in:
PowerUser64 2025-02-19 12:13:49 -08:00
parent d8240e0501
commit ccb17de630
2 changed files with 4 additions and 4 deletions

View file

@ -2,5 +2,5 @@
# Purpose: edit nvim configuration while being cd'd into the directory that
# most of the files live so they can easily be :e'd
# Usage: nvc [$EDITOR options]
cd ~/.config/nvim/lua \
&& $EDITOR "$@" ../init.lua
cd ~/.config/nvim/lua/blake \
&& $EDITOR "$@" ../../init.lua

4
.zshrc
View file

@ -127,8 +127,8 @@ Set the SKIP_P10K_THEME environment variable to 'true' or make a configuration t
setopt histignorealldups # If a new command is a duplicate, remove the older one
setopt autocd # if only directory path is entered, cd there.
setopt interactive_comments # allow typing comments in line
setopt no_rm_star_silent # Ensure the user wants to execute 'rm *'
setopt rm_star_wait # Wait before accepting 'rm *' or 'rm /path/*'
setopt rm_star_silent # (don't) Ensure the user wants to execute 'rm *'
setopt no_rm_star_wait # (don't) Wait before accepting 'rm *' or 'rm /path/*'
setopt short_loops # allow things like 'if [ 1=1 ] { echo "okay"}' < https://zsh.sourceforge.io/Doc/Release/Shell-Grammar.html#Alternate-Forms-For-Complex-Commands
setopt pipe_fail # When a pipe fails, show the non-0 exit code for the exit code