diff options
| author | Skladnayazebra <skladnayazebra@gmail.com> | 2026-03-04 10:56:36 +0100 |
|---|---|---|
| committer | Skladnayazebra <skladnayazebra@gmail.com> | 2026-03-04 10:56:36 +0100 |
| commit | 12bfe128ff58a2c4755ea68bb5368714a36ea1e2 (patch) | |
| tree | a176d6a2e7adb81bac74707ab48797ec7798f459 | |
| parent | 9e5388acb77f837428519268df6cab8da347146e (diff) | |
delete pnpm completion ot was blocking path completion
| -rw-r--r-- | zsh/pnpm.zsh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/zsh/pnpm.zsh b/zsh/pnpm.zsh index 6b6b890..c114190 100644 --- a/zsh/pnpm.zsh +++ b/zsh/pnpm.zsh @@ -1,31 +1,3 @@ -#compdef pnpm -###-begin-pnpm-completion-### -if type compdef &>/dev/null; then - _pnpm_completion () { - local reply - local si=$IFS - - IFS=$'\n' reply=($(COMP_CWORD="$((CURRENT-1))" COMP_LINE="$BUFFER" COMP_POINT="$CURSOR" SHELL=zsh pnpm completion-server -- "${words[@]}")) - IFS=$si - - if [ "$reply" = "__tabtab_complete_files__" ]; then - _files - else - _describe 'values' reply - fi - } - # When called by the Zsh completion system, this will end with - # "loadautofunc" when initially autoloaded and "shfunc" later on, otherwise, - # the script was "eval"-ed so use "compdef" to register it with the - # completion system - if [[ $zsh_eval_context == *func ]]; then - _pnpm_completion "$@" - else - compdef _pnpm_completion pnpm - fi -fi -###-end-pnpm-completion-### - # pnpm homedir export PNPM_HOME="/home/work/.local/share/pnpm" case ":$PATH:" in |
