Improve completions (bash-completions in zsh still broken)

This commit is contained in:
Tobias Reisinger 2024-01-27 20:44:38 +01:00
parent 8d2d9bf10c
commit 26aff394c0
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 9 additions and 11 deletions

View file

@ -65,6 +65,14 @@ ZSH_CUSTOM=$ZDOTDIR/custom
export plugin_path="$ZSH_CUSTOM/plugins"
autoinstall run oh-my-zsh
nix_completions="$HOME/.nix-profile/share/zsh/site-functions"
if [ -d "$nix_completions" ]; then
fpath=($nix_completions $fpath)
fi
fpath=(
"$XDG_DATA_HOME/zsh/site-functions"
$fpath
)
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/