mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-03 10:21:46 +02:00
49731: Add OpenBSD sys{clean,merge,patch,upgrade} completion
This commit is contained in:
parent
8bf0f0cf45
commit
e1405109a6
5 changed files with 35 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2022-02-02 Matthew Martin <phy1729@gmail.com>
|
||||||
|
|
||||||
|
* 49731: Completion/BSD/Command/_sysclean,
|
||||||
|
Completion/BSD/Command/_sysmerge,
|
||||||
|
Completion/BSD/Command/_syspatch,
|
||||||
|
Completion/BSD/Command/_sysupgrade: Add completers
|
||||||
|
|
||||||
2022-01-30 Mikael Magnusson <mikachu@gmail.com>
|
2022-01-30 Mikael Magnusson <mikachu@gmail.com>
|
||||||
|
|
||||||
* 49694 + doc: Doc/Zsh/builtins.yo, Doc/Zsh/params.yo, Src/exec.c:
|
* 49694 + doc: Doc/Zsh/builtins.yo, Doc/Zsh/params.yo, Src/exec.c:
|
||||||
|
|
6
Completion/BSD/Command/_sysclean
Normal file
6
Completion/BSD/Command/_sysclean
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#compdef sysclean
|
||||||
|
|
||||||
|
_arguments -s : \
|
||||||
|
'(-p)-a[include filenames used by installed packages]' \
|
||||||
|
'-i[include ignored filenames]' \
|
||||||
|
'(-a)-p[output package names that are using obsolete files]'
|
6
Completion/BSD/Command/_sysmerge
Normal file
6
Completion/BSD/Command/_sysmerge
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#compdef sysmerge
|
||||||
|
|
||||||
|
_arguments -s : \
|
||||||
|
'-b[run non-interactively]' \
|
||||||
|
'-d[do not take any automatic action]' \
|
||||||
|
'-p[only compare configuration of packages]'
|
7
Completion/BSD/Command/_syspatch
Normal file
7
Completion/BSD/Command/_syspatch
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#compdef syspatch
|
||||||
|
|
||||||
|
_arguments \
|
||||||
|
'( -l -R -r)-c[list available patches]' \
|
||||||
|
'(-c -R -r)-l[list installed patches]' \
|
||||||
|
'(-c -l -r)-R[revert all patches]' \
|
||||||
|
'(-c -l -R )-r[revert the most recently installed patch]'
|
9
Completion/BSD/Command/_sysupgrade
Normal file
9
Completion/BSD/Command/_sysupgrade
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#compdef sysupgrade
|
||||||
|
|
||||||
|
_arguments -s -S -A '-*' : \
|
||||||
|
'-f[force an already applied upgrade]' \
|
||||||
|
'-k[keep the downloaded files]' \
|
||||||
|
'-n[do not reboot]' \
|
||||||
|
'(-s)-r[upgrade to the next release]' \
|
||||||
|
'(-r)-s[upgrade to a snapshot]' \
|
||||||
|
':installurl:'
|
Loading…
Reference in a new issue