]> git.netwichtig.de Git - user/henk/vcsh/zsh.git/commitdiff
implement sane options myself
authorHendrik Jäger <gitcommit@henk.geekmail.org>
Thu, 6 Oct 2022 12:32:21 +0000 (14:32 +0200)
committerHendrik Jaeger <henk@frustcomp.hnjs.home.arpa>
Thu, 6 Oct 2022 12:41:33 +0000 (14:41 +0200)
.zshrc

diff --git a/.zshrc b/.zshrc
index b182e0ad76f8e4cf75c65319ec726434740d645d..79570253bab3b0940f28728f67b108598f705b9c 100644 (file)
--- a/.zshrc
+++ b/.zshrc
@@ -63,9 +63,6 @@ zinit load 'https://github.com/joel-porquet/zsh-dircolors-solarized'
 zinit load "https://github.com/greymd/tmux-xpanes"
 
 
-# load sane options plugin before setting my own options
-zinit load 'https://github.com/willghatch/zsh-saneopt'
-
 # options are usually independent and standalone
 # so they can stay at the top
 setopt AUTO_CD
@@ -102,7 +99,19 @@ setopt PRINT_EXIT_VALUE
 
 setopt AUTO_CONTINUE
 setopt NO_BG_NICE
-#setopt LONG_LIST_JOBS
+# display PID when suspending processes as well
+setopt LONG_LIST_JOBS
+# Report the status of background jobs immediately, rather than waiting until just before printing a prompt.
+setopt NOTIFY
+# Whenever  a  command completion or spelling correction is attempted, make sure the entire command path is hashed first.  This makes the first completion slower but avoids false reports of spelling errors.
+setopt HASH_LIST_ALL
+# If unset, the cursor is set to the end of the word if completion is started. Otherwise it stays there and completion is done from both ends.
+setopt COMPLETE_IN_WORD
+# use zsh field splitting
+setopt NO_SH_WORD_SPLIT
+# unset parameters should cause an error
+# CONFLICTS WITH ZINIT
+# setopt NO_UNSET
 
 
 # load before completion system initialization