diff options
author | Matthew Martin <phy1729@gmail.com> | 2022-02-02 19:26:23 -0600 |
---|---|---|
committer | Matthew Martin <phy1729@gmail.com> | 2022-02-02 19:29:51 -0600 |
commit | e1405109a61fd84f758fd1656d96f7bf7711ff58 (patch) | |
tree | 65aa596e89a28db96840d9db10b4d4323fb4e740 | |
parent | 8bf0f0cf45606971d1433b36ce21ab45f6226004 (diff) | |
download | zsh-e1405109a61fd84f758fd1656d96f7bf7711ff58.tar.gz zsh-e1405109a61fd84f758fd1656d96f7bf7711ff58.tar.xz zsh-e1405109a61fd84f758fd1656d96f7bf7711ff58.zip |
49731: Add OpenBSD sys{clean,merge,patch,upgrade} completion
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Completion/BSD/Command/_sysclean | 6 | ||||
-rw-r--r-- | Completion/BSD/Command/_sysmerge | 6 | ||||
-rw-r--r-- | Completion/BSD/Command/_syspatch | 7 | ||||
-rw-r--r-- | Completion/BSD/Command/_sysupgrade | 9 |
5 files changed, 35 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 98dd85274..85921bb18 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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> * 49694 + doc: Doc/Zsh/builtins.yo, Doc/Zsh/params.yo, Src/exec.c: diff --git a/Completion/BSD/Command/_sysclean b/Completion/BSD/Command/_sysclean new file mode 100644 index 000000000..755861644 --- /dev/null +++ b/Completion/BSD/Command/_sysclean @@ -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]' diff --git a/Completion/BSD/Command/_sysmerge b/Completion/BSD/Command/_sysmerge new file mode 100644 index 000000000..00ee18299 --- /dev/null +++ b/Completion/BSD/Command/_sysmerge @@ -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]' diff --git a/Completion/BSD/Command/_syspatch b/Completion/BSD/Command/_syspatch new file mode 100644 index 000000000..850636d09 --- /dev/null +++ b/Completion/BSD/Command/_syspatch @@ -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]' diff --git a/Completion/BSD/Command/_sysupgrade b/Completion/BSD/Command/_sysupgrade new file mode 100644 index 000000000..b1144b0d5 --- /dev/null +++ b/Completion/BSD/Command/_sysupgrade @@ -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:' |