1
0

adjust completion in zsh

This commit is contained in:
2025-03-30 10:37:25 +02:00
parent e5bfcdac99
commit 81c3491c57
4 changed files with 8 additions and 18 deletions

View File

@@ -31,8 +31,11 @@ esac
bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word
# Set fpath before sourcing completion.zsh
fpath=("$DOTFILES/zsh/zsh-completions/src" $fpath)
# Source completion configuration
source "$DOTFILES/zsh/completion.zsh"
fpath=("$DOTFILES/zsh/zsh-completions/src" "$fpath")
source "$DOTFILES/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh"
# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"