mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-08 23:04:15 +00:00
update completion scripts
This commit is contained in:
@@ -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>')
|
||||||
|
|||||||
@@ -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
2
completion/dotdrop-completion.bash
Normal file → Executable 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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user