summary refs log tree commit diff
path: root/Completion/BSD/Command/_bsdconfig
diff options
context:
space:
mode:
authorEric Cook <llua@gmx.com>2015-05-06 22:36:48 -0400
committerPeter Stephenson <pws@zsh.org>2015-05-07 09:47:48 +0100
commit13c6d38e4b989a7185a161d3978dd5cfd3da143f (patch)
tree9be0b09768443bd50bb6345944d9f01c766b909c /Completion/BSD/Command/_bsdconfig
parentaa34d2f1652f31940534864c1a8ef5404c004638 (diff)
downloadzsh-13c6d38e4b989a7185a161d3978dd5cfd3da143f.tar.gz
zsh-13c6d38e4b989a7185a161d3978dd5cfd3da143f.tar.xz
zsh-13c6d38e4b989a7185a161d3978dd5cfd3da143f.zip
35052: new BSD completions
Diffstat (limited to 'Completion/BSD/Command/_bsdconfig')
-rw-r--r--Completion/BSD/Command/_bsdconfig55
1 files changed, 55 insertions, 0 deletions
diff --git a/Completion/BSD/Command/_bsdconfig b/Completion/BSD/Command/_bsdconfig
new file mode 100644
index 000000000..8c7597e0f
--- /dev/null
+++ b/Completion/BSD/Command/_bsdconfig
@@ -0,0 +1,55 @@
+#compdef bsdconfig
+
+local -a shortcuts
+shortcuts=(
+  'console:utilities to customize the behavior of the system console'
+  'defaultrouter:default router/gateway'
+  'diskmgmt:manage disk partitions and/or labels using sade(8)'
+  'docsinstall:install/reinstall FreeBSD documentation set(s)'
+  'dot:generate a graphviz dot(1) language file(printed on stdout)'
+  'groupadd:add groups'
+  'groupdel:delete groups'
+  'groupedit:edit/view groups'
+  'groupmgmt:utilities to add/change/view/delete group accounts'
+  'hostname:set hostname/domainname'
+  'kern_securelevel:set kern.securelevel variable'
+  'mouse:utilities for configuring, exploring, and enabling console mouse support'
+  'mouse_disable:disable mouse support'
+  'mouse_enable:enable mouse support'
+  'mouse_flags:set mouse daemon flags'
+  'mouse_port:select mouse port'
+  'mouse_type:select mouse type'
+  'nameservers:DNS Nameservers menu under networking'
+  'netdev:configure network interfaces'
+  'networking:utilities for network related settings'
+  'packages:browse, install, uninstall, or re-install packaged software'
+  'password:set the system administrator (root) password'
+  'security:configure various system security settings'
+  'startup:configure various aspects of system startup'
+  'startup_misc:miscellaneous startup services'
+  'startup_rcadd:add directives to rc.conf(5)'
+  'startup_rcconf:view/edit directives to rc.conf(5)'
+  'startup_rcdelete:delete directives from rc.conf(5)'
+  'startup_rcvar:toggle directives on/off'
+  'syscons_font:select console font'
+  'syscons_keymap:select console keymap'
+  'syscons_repeat:set key repeat speed'
+  'syscons_saver:select console screensaver'
+  'syscons_screenmap:select console screenmap'
+  'syscons_ttys:select console TTY type'
+  'timezone:set the regional timezone of the local machine'
+  'ttys:edit the ttys(5) database with your favorite editor'
+  'useradd:add users'
+  'userdel:delete users'
+  'useredit:edit/view users'
+  'usermgmt:utilities to add/edit/view/delete user accounts'
+)
+
+_arguments -s -w -A '-*' : \
+  '-d[debug mode]' \
+  '-D[send debug info to file]: :{ compset -P 1 +; _files }' \
+  '-f[load file as script then exit]: : _files' \
+  '-h[print usage then exit]' \
+  '-S[secure X11 mode]' \
+  '-X[use Xdialog(1)]' \
+  '1:bsdconfig(8) menus:(( $shortcuts ))'