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

update completion scripts

This commit is contained in:
deadc0de6
2019-11-27 19:23:45 +01:00
parent 723ff3dda2
commit a235115db3
4 changed files with 36 additions and 36 deletions

View File

@@ -34,14 +34,14 @@ _dotdrop ()
(command)
local -a subcommands
subcommands=(
'install'
'import'
'compare'
'update'
'remove'
'listfiles'
'detail'
'list'
'install[\[-VbtfndDa\] \[-c <path>\] \[-p <profile>\] \[<key>...\]]'
'import[\[-Vbdf\] \[-c <path>\] \[-p <profile>\]]'
'compare[\[-Vb\] \[-c <path>\] \[-p <profile>\]]'
'update[\[-VbfdkP\] \[-c <path>\] \[-p <profile>\]]'
'remove[\[-Vbfdk\] \[-c <path>\] \[-p <profile>\] \[<path>...\]]'
'files[\[-VbT\] \[-c <path>\] \[-p <profile>\]]'
'detail[\[-Vb\] \[-c <path>\] \[-p <profile>\] \[<key>...\]]'
'profiles[\[-Vb\] \[-c <path>\]]'
)
_values 'dotdrop' $subcommands
;;
@@ -63,14 +63,14 @@ _dotdrop ()
remove)
_dotdrop-remove
;;
listfiles)
_dotdrop-listfiles
files)
_dotdrop-files
;;
detail)
_dotdrop-detail
;;
list)
_dotdrop-list
profiles)
_dotdrop-profiles
;;
esac
;;
@@ -228,7 +228,7 @@ _dotdrop-remove ()
fi
}
_dotdrop-listfiles ()
_dotdrop-files ()
{
local context state state_descr line
typeset -A opt_args
@@ -271,7 +271,7 @@ _dotdrop-detail ()
fi
}
_dotdrop-list ()
_dotdrop-profiles ()
{
local context state state_descr line
typeset -A opt_args