From bf12e10c6d98cc09bf6230b7bb0032104cacfc98 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Thu, 1 Aug 2024 00:41:26 -0700 Subject: [PATCH] zsh: disable globbing hash symbol --- .zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index e783bce..6d42f7f 100644 --- a/.zshrc +++ b/.zshrc @@ -107,8 +107,6 @@ Set the SKIP_P10K_THEME environment variable to 'true' or make a configuration t [ -z "$HISTFILE" ] && HISTFILE="$HOME/.zsh_history" -alias nix='noglob nix' - ## ZSH Options >>> { # setopt correct # Auto correct mistakes @@ -129,6 +127,8 @@ alias nix='noglob nix' setopt rm_star_wait # 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 + + disable -p '#' # Disable globbing the hash symbol } # <<< ## ZSH Completion Options >>>