Re-introduce keysrc

keysrc allows for flexible, manual per-device configuration. Contrary to its name, it should not be used for keys - it's simply used as scratch.

Should its name change? Likely!
This commit is contained in:
Spotlight 2023-10-10 21:18:00 -05:00
parent 06f6a28873
commit 36d308aac3
Signed by: spotlight
GPG key ID: 874AA355B3209BDC
2 changed files with 9 additions and 3 deletions

View file

@ -55,6 +55,12 @@ in
# pushd
setopt AUTO_PUSHD
# Per-device, flexible configuration
# (Contrary to its name, it should not house keys.)
if [ -f $HOME/.keysrc ]; then
source $HOME/.keysrc
fi
# History search, but from beginning
bindkey "^[[A" history-beginning-search-backward
bindkey "^[[B" history-beginning-search-forward