mirror of
https://github.com/zdharma-continuum/zconvey.git
synced 2026-09-10 07:06:21 -04:00
Add completions for the commands. Thanks @MenkeTechnologies!
This commit is contained in:
parent
627e8aff06
commit
851dbd7f60
16
_zc
Normal file
16
_zc
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#compdef zc
|
||||
|
||||
local arguments
|
||||
|
||||
arguments=(
|
||||
{-h,--help}'[this message]'
|
||||
{-i,--id}'[ID (number) of Zsh session]:ID'
|
||||
{-n,--name}'[NAME of Zsh session]:NAME'
|
||||
{-q,--quiet}'[dont output status messages]'
|
||||
{-v,--verbose}'[output more status messages]'
|
||||
{-a,--ask}'[ask for command (if not provided) and session (etc.)]'
|
||||
{-r,--raw}'[raw input (for scripts) - a quoted string, e.g. ls a dir]'
|
||||
'*:filename:_files'
|
||||
)
|
||||
|
||||
_arguments -s $arguments
|
||||
14
_zc-all
Normal file
14
_zc-all
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#compdef zc-all
|
||||
|
||||
local arguments
|
||||
|
||||
arguments=(
|
||||
{-h,--help}'[this message]'
|
||||
{-q,--quiet}'[dont output status messages]'
|
||||
{-v,--verbose}'[output more status messages]'
|
||||
{-a,--ask}'[ask for command (if not provided)]'
|
||||
{-f,--force}'[send also to busy sessions; command can time out]'
|
||||
'*:filename:_files'
|
||||
)
|
||||
|
||||
_arguments -s $arguments
|
||||
14
_zc-bg-notify
Normal file
14
_zc-bg-notify
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#compdef zc-bg-notify
|
||||
|
||||
local arguments
|
||||
|
||||
arguments=(
|
||||
{-h,--help}'[this message]'
|
||||
{-q,--quiet}'[dont output status messages about target sessions]'
|
||||
{-v,--verbose}'[output more status messages]'
|
||||
{-a,--ask}'[ask for notification text (if not provided)]'
|
||||
{-f,--force}'[send also to busy sessions; notification can time-out]'
|
||||
'*:filename:_files'
|
||||
)
|
||||
|
||||
_arguments -s $arguments
|
||||
13
_zc-rename
Normal file
13
_zc-rename
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#compdef zc-rename
|
||||
|
||||
local arguments
|
||||
|
||||
arguments=(
|
||||
{-h,--help}'[this message]'
|
||||
{-i,--id}'[(number) of Zsh session]:ID'
|
||||
{-n,--name}'[NAME of Zsh session]:NAME'
|
||||
{-q,--quiet}'[dont output status messages]'
|
||||
'*:filename:_files'
|
||||
)
|
||||
|
||||
_arguments -s $arguments
|
||||
Loading…
Reference in a new issue