16 lines
1.6 KiB
Bash
16 lines
1.6 KiB
Bash
|
####################################################################################################################################################
|
||
|
# 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.
|
||
|
####################################################################################################################################################
|