dotfiles/.config/zsh/.zshrc
Alexander Hess fa98b22431
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
2025-08-30 11:19:30 +02:00

10 lines
221 B
Bash

#!/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
. "$HOME/.zshrc"