play around with zsh completions

This commit is contained in:
Daylin Morgan 2024-05-27 10:23:52 -05:00
parent f7ad15600c
commit 86e88f38d6
Signed by: daylin
GPG key ID: 950D13E9719334AD
3 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,11 @@
#!/usr/bin/env zsh
# this probably should n't be necessary but I'll leave it here anyways
# since instant prompt hides the cost
autoload -Uz compinit
if [[ -n $HOME/.cache/zsh/zcompdump-$ZSH_VERSION(#qN.mh+24) ]]; then
compinit -d "$HOME/.cache/zsh/zcompdump-$ZSH_VERSION"
else
compinit -C;
fi;

View file

@ -23,7 +23,7 @@ ${ZDOTDIR}/plugins/prompt
# start compinit before
# fzf-tab and zexists
belak/zsh-utils path:completion
# belak/zsh-utils path:completion
# wrap-up
mattmc3/zephyr path:plugins/confd

View file

@ -0,0 +1,4 @@
#!/usr/bin/env zsh
export PNPM_HOME="$HOME/.local/share/pnpm"
path=("$PNPM_HOME" $path)