1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-09 00:49:18 +00:00

update completion scripts

This commit is contained in:
deadc0de6
2019-04-02 23:00:11 +02:00
parent 4120fada54
commit e009649cb9
4 changed files with 6 additions and 6 deletions

View File

@@ -119,14 +119,14 @@ _dotdrop-import ()
'(--verbose)--verbose' \ '(--verbose)--verbose' \
'(-b)-b' \ '(-b)-b' \
'(--no-banner)--no-banner' \ '(--no-banner)--no-banner' \
'(-l)-l' \
'(--inv-link)--inv-link' \
'(-d)-d' \ '(-d)-d' \
'(--dry)--dry' \ '(--dry)--dry' \
'(-c=-)-c=-' \ '(-c=-)-c=-' \
'(--cfg=-)--cfg=-' \ '(--cfg=-)--cfg=-' \
'(-p=-)-p=-' \ '(-p=-)-p=-' \
'(--profile=-)--profile=-' \ '(--profile=-)--profile=-' \
'(-l=-)-l=-' \
'(--link=-)--link=-' \
else else
myargs=('<path>') myargs=('<path>')

View File

@@ -119,14 +119,14 @@ _dotdrop.sh-import ()
'(--verbose)--verbose' \ '(--verbose)--verbose' \
'(-b)-b' \ '(-b)-b' \
'(--no-banner)--no-banner' \ '(--no-banner)--no-banner' \
'(-l)-l' \
'(--inv-link)--inv-link' \
'(-d)-d' \ '(-d)-d' \
'(--dry)--dry' \ '(--dry)--dry' \
'(-c=-)-c=-' \ '(-c=-)-c=-' \
'(--cfg=-)--cfg=-' \ '(--cfg=-)--cfg=-' \
'(-p=-)-p=-' \ '(-p=-)-p=-' \
'(--profile=-)--profile=-' \ '(--profile=-)--profile=-' \
'(-l=-)-l=-' \
'(--link=-)--link=-' \
else else
myargs=('<path>') myargs=('<path>')

2
completion/dotdrop-completion.bash Normal file → Executable file
View File

@@ -50,7 +50,7 @@ _dotdrop_import()
cur="${COMP_WORDS[COMP_CWORD]}" cur="${COMP_WORDS[COMP_CWORD]}"
if [ $COMP_CWORD -ge 2 ]; then if [ $COMP_CWORD -ge 2 ]; then
COMPREPLY=( $( compgen -fW '-V --verbose -b --no-banner -l --inv-link -d --dry -c= --cfg= -p= --profile= ' -- $cur) ) COMPREPLY=( $( compgen -fW '-V --verbose -b --no-banner -d --dry -c= --cfg= -p= --profile= -l= --link= ' -- $cur) )
fi fi
} }

View File

@@ -50,7 +50,7 @@ _dotdropsh_import()
cur="${COMP_WORDS[COMP_CWORD]}" cur="${COMP_WORDS[COMP_CWORD]}"
if [ $COMP_CWORD -ge 2 ]; then if [ $COMP_CWORD -ge 2 ]; then
COMPREPLY=( $( compgen -fW '-V --verbose -b --no-banner -l --inv-link -d --dry -c= --cfg= -p= --profile= ' -- $cur) ) COMPREPLY=( $( compgen -fW '-V --verbose -b --no-banner -d --dry -c= --cfg= -p= --profile= -l= --link= ' -- $cur) )
fi fi
} }