minimal: More zsh fixes

This commit is contained in:
traxys 2024-08-26 12:30:06 +02:00
parent a56a63cddd
commit 68b04ca784

View file

@ -41,6 +41,7 @@
PYTHONSTARTUP = "${XDG_CONFIG_HOME}/python/pythonrc";
RUSTUP_HOME = "${XDG_DATA_HOME}/rustup";
WINEPREFIX = "${XDG_DATA_HOME}/wine";
DELTA_PAGER = "less -+X";
};
home.packages =
@ -311,6 +312,8 @@
envExtra = "export EDITOR=nvim";
initExtra = ''
bindkey -e
export PATH="$PATH:$HOME/bin";
if [ -f "$HOME/.zvars" ]; then
source "$HOME/.zvars"
@ -348,6 +351,7 @@
zstyle ':completion:*' menu select
HISTORY_SUBSTRING_SEARCH_HIGHLIGHT_FOUND=""
HISTORY_SUBSTRING_SEARCH_PREFIXED=1
bindkey "^[[A" history-substring-search-up
bindkey "^[[B" history-substring-search-down