diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-05-15 14:53:30 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-05-15 14:53:30 -0700 |
| commit | 52e42f959abb15e425b34ffbd31d7f32a6129636 (patch) | |
| tree | 52f7d15a6f6ba821572629e2c28b1536d6c1752d /home/zsh/options.zsh | |
| parent | home: run abcde in `~/import` (diff) | |
| download | infra-52e42f959abb15e425b34ffbd31d7f32a6129636.tar.gz | |
zsh: switch to zsh as the default shell
`zsh' is available everywhere and is compatible with bash. When using
`fish' I need to remember how to do things. While the completion style
is nicer, I don't care about the rest. I prefer to have a consistent
experience in the shell, no matter where am I.
This is an initial configuration, I might need to make a few changes as
I go.
Diffstat (limited to '')
| -rw-r--r-- | home/zsh/options.zsh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/home/zsh/options.zsh b/home/zsh/options.zsh new file mode 100644 index 0000000..84ae8da --- /dev/null +++ b/home/zsh/options.zsh @@ -0,0 +1,23 @@ +# 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 + +# Append commands to history as they are exectuted +setopt inc_append_history_time + +# Remove useless whitespace from commands +setopt hist_reduce_blanks + +# Those options aren't wanted +unsetopt beep extendedglob notify |
