Add configuration for zsh
- Add ~/.zshrc + Configure on how the `history` works + Enable nicer `cd` and globbing behavior + Enable tab completion, and make them feel nicer + Enable VI mode and add some VI-like key bindings - Add ~/.zlogout clearing the screen - Add ~/.config/zsh/.zshrc and make it dispatch to ~/.zshrc to make `zsh` use the same configuration even on more recent Debian/Ubuntu machines that do not look for ~/.zshrc any more - Ensure ~/.local/state/zsh/ exists
This commit is contained in:
parent
a6f40c0ffb
commit
dbd665e7f3
6 changed files with 94 additions and 0 deletions
10
.config/zsh/.zshrc
Normal file
10
.config/zsh/.zshrc
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/zsh
|
||||
|
||||
# Load the real `zsh` config file in ~/
|
||||
#
|
||||
# Recent Debian/Ubuntu versions look for .zshrc
|
||||
# in ~/.config/zsh and no longer in ~/ which
|
||||
# is still the main location in many other distributions
|
||||
|
||||
|
||||
[ -f "$HOME/.zshrc" ] && . "$HOME/.zshrc"
|
||||
3
.config/zsh/README.md
Normal file
3
.config/zsh/README.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# `zsh`-related Configurations
|
||||
|
||||
This folder contains files that are sourced by `zsh`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue