From cfb1895ec218224a70ac77a15e9624772161f6c6 Mon Sep 17 00:00:00 2001 From: Hendrik Jäger Date: Thu, 6 Oct 2022 14:32:21 +0200 Subject: implement sane options myself --- .zshrc | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to '.zshrc') 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 -- cgit v1.2.3