/
usr
/
lib
/
node_modules
/
pnpm
/
dist
/
templates
/
/usr/lib/node_modules/pnpm/dist/templates
mkdir
upload
Name
Size
Mode
Actions
completion.bash
994
0644
edit
dl
rm
completion.fish
672
0644
edit
dl
rm
completion.ps1
7685
0644
edit
dl
rm
completion.zsh
839
0644
edit
dl
rm
Edit:
/usr/lib/node_modules/pnpm/dist/templates/completion.fish
(672B)
###-begin-{pkgname}-completion-### function _{pkgname}_completion set cmd (commandline -o) set cursor (commandline -C) set words (count $cmd) set completions (eval env DEBUG=\"" \"" COMP_CWORD=\""$words\"" COMP_LINE=\""$cmd \"" COMP_POINT=\""$cursor\"" SHELL=fish {completer} completion-server -- $cmd) if [ "$completions" = "__tabtab_complete_files__" ] set -l matches (commandline -ct)* if [ -n "$matches" ] __fish_complete_path (commandline -ct) end else for completion in $completions echo -e $completion end end end complete -f -d '{pkgname}' -c {pkgname} -a "(_{pkgname}_completion)" ###-end-{pkgname}-completion-###
Save
cmd:
run