dotfiles/.config/zsh/.zlogout
Alexander Hess 3abcdabf31
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
2026-09-29 13:10:14 +02:00

8 lines
162 B
Shell

#!/bin/zsh
# Failsafe: Dispatch to the real `zsh` logout file in ~/
#
# See ~/.config/zsh/.zshrc for the details
[ -f "$HOME/.zlogout" ] && . "$HOME/.zlogout"