Watch
1
0
Fork
You've already forked dotfiles
0
dotfiles/.zlogout
Alexander Hess 35fad2c37b
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-08-03 12:42:44 +02:00

4 lines
103 B
Shell

#!/bin/zsh
_logout="${XDG_CONFIG_HOME:-$HOME/.config}/shell/logout"
[ -f "$_logout" ] && . "$_logout"