From 30f65d385f9e72736bdff196f8fcf0d8b557c7a5 Mon Sep 17 00:00:00 2001 From: Thomas Preisner Date: Wed, 12 Jul 2017 17:22:10 +0200 Subject: [PATCH] zsh: setopt: decapitalize headers and remove trailing whitespaces --- zsh/setopt.zsh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/zsh/setopt.zsh b/zsh/setopt.zsh index 5cfe906..be80fe3 100644 --- a/zsh/setopt.zsh +++ b/zsh/setopt.zsh @@ -1,26 +1,28 @@ -# ===== Basics +# ===== basics setopt no_beep # don't beep on error setopt interactive_comments # Allow comments even in interactive shells (especially for Muness) -# ===== Changing Directories +# ===== directory related setopt auto_cd # If you type foo, and it isn't a command, and it is a directory in your cdpath, go there setopt cdablevarS # if argument to cd is the name of a parameter whose value is a valid directory, it will become the current directory + +# ===== directory stack # setopt pushd_ignore_dups # don't push multiple copies of the same directory onto the directory stack -# ===== Expansion and Globbing +# ===== expansion and globbing setopt extended_glob # treat #, ~, and ^ as part of patterns for filename generation -# ===== Completion -setopt always_to_end # When completing from the middle of a word, move the cursor to the end of the word +# ===== completion +setopt always_to_end # When completing from the middle of a word, move the cursor to the end of the word setopt auto_menu # show completion menu on successive tab press. needs unsetop menu_complete to work setopt auto_name_dirs # any parameter that is set to the absolute name of a directory immediately becomes a name for that directory setopt complete_in_word # Allow completion from within a word/phrase unsetopt menu_complete # do not autoselect the first completion entry -# ===== Correction +# ===== correction # setopt correct # spelling correction for commands # setopt correctall # spelling correction for arguments -# ===== Scripts and Functions +# ===== scripts and functions setopt multios # perform implicit tees or cats when multiple redirections are attempted