From 3c6e622d490b70d9965d788efad19ffeb9f5be09 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Sat, 11 Jan 2025 20:43:37 +0100 Subject: [PATCH] ZSH Config: set base options --- Configs/ZSHShell/.zshrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Configs/ZSHShell/.zshrc diff --git a/Configs/ZSHShell/.zshrc b/Configs/ZSHShell/.zshrc new file mode 100644 index 0000000..5df6a5e --- /dev/null +++ b/Configs/ZSHShell/.zshrc @@ -0,0 +1,15 @@ +#################################################################################################################################################### +# Options section +#################################################################################################################################################### +setopt correct # Auto correct mistakes +setopt extendedglob # Extended globbing. Allows using regular expressions with * +setopt nocaseglob # Case insensitive globbing +setopt rcexpandparam # Array expension with parameters +setopt nocheckjobs # Don't warn about running processes when exiting +setopt numericglobsort # Sort filenames numerically when it makes sense +setopt nobeep # No beep +setopt appendhistory # Immediately append history instead of overwriting +setopt histignorealldups # If a new command is a duplicate, remove the older one +setopt autocd # if only directory path is entered, cd there. +setopt inc_append_history # save commands are added to the history immediately, otherwise only when shell exits. +####################################################################################################################################################