diff --git a/home/zsh.nix b/home/zsh.nix index d28a697..279b63c 100644 --- a/home/zsh.nix +++ b/home/zsh.nix @@ -27,6 +27,21 @@ # Modal editing is life, but CLI benefits from emacs gymnastics 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