home: zsh: add more customisation

This will make it closer to my usual shell setup in Arch.
This commit is contained in:
Bruno BELANYI 2021-02-19 19:16:08 +00:00
parent 58ad800e87
commit 1daff40891

View file

@ -27,6 +27,21 @@
# Modal editing is life, but CLI benefits from emacs gymnastics # Modal editing is life, but CLI benefits from emacs gymnastics
defaultKeymap = "emacs"; defaultKeymap = "emacs";
initExtra = ''
# Show an error when a globbing expansion doesn't find any match
setopt nomatch
# List on ambiguous completion and Insert first match immediately
setopt autolist menucomplete
# Use pushd when cd-ing around
setopt autopushd pushdminus pushdsilent
# Use single quotes in string without the weird escape tricks
setopt rcquotes
# Single word commands can resume an existing job
setopt autoresume
# Those options aren't wanted
unsetopt beep extendedglob notify
'';
}; };
# Fuzzy-wuzzy # Fuzzy-wuzzy