summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2022-10-06 14:32:21 +0200
committerHendrik Jaeger <henk@frustcomp.hnjs.home.arpa>2022-10-06 14:41:33 +0200
commitcfb1895ec218224a70ac77a15e9624772161f6c6 (patch)
treef1989e580a06e900fd3c1352cd0fa889d76f02e3
parent1a2ed8a53739690f42a3eb939bd7feaab87e506e (diff)
implement sane options myself
-rw-r--r--.zshrc17
1 files changed, 13 insertions, 4 deletions
diff --git a/.zshrc b/.zshrc
index b182e0a..7957025 100644
--- 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