added vuejs completion in clean_files

This commit is contained in:
Gurkirat Singh
2021-01-10 00:54:41 +05:30
committed by Noah Gorny
parent 2a2741d761
commit 812efaab90
2 changed files with 46 additions and 44 deletions

View File

@@ -53,6 +53,7 @@ completion/available/pipx.completion.bash
completion/available/rustup.completion.bash completion/available/rustup.completion.bash
completion/available/vault.completion.bash completion/available/vault.completion.bash
completion/available/sdkman.completion.bash completion/available/sdkman.completion.bash
completion/available/vuejs.completion.bash
# aliases # aliases
# #

View File

@@ -1,4 +1,5 @@
#!/usr/bin/bash # shellcheck shell=bash
# shellcheck disable=SC2207
if _command_exists vue; then if _command_exists vue; then
__vuejs_completion() { __vuejs_completion() {
@@ -9,7 +10,7 @@ if _command_exists vue; then
create) create)
COMPREPLY=($(compgen -W "-p -d -i -m -r -g -n -f -c -x -b -h --help --preset --default --inilinePreset --packageManager --registry --git --no-git --force --merge --clone --proxy --bare --skipGetStarted" -- "$curr")) COMPREPLY=($(compgen -W "-p -d -i -m -r -g -n -f -c -x -b -h --help --preset --default --inilinePreset --packageManager --registry --git --no-git --force --merge --clone --proxy --bare --skipGetStarted" -- "$curr"))
;; ;;
add|invoke) add | invoke)
COMPREPLY=($(compgen -W "--registry -h --help" -- "$curr")) COMPREPLY=($(compgen -W "--registry -h --help" -- "$curr"))
;; ;;
inspect) inspect)