summaryrefslogtreecommitdiff
path: root/shell-completion
Commit message (Collapse)AuthorAgeFilesLines
* Revert "completion: don't offer completions for journalctl -b"Lennart Poettering2013-12-261-2/+2
| | | | This reverts commit c756a6d57cdb678b702c68913dae3e11ff0427ae.
* completion: don't offer completions for journalctl -bDave Reisner2013-12-251-2/+2
| | | | | | Since this is a shortopt with an optional argument, assume the user knows what they're doing. The longopts --boot and --this-boot will continue to offer boot IDs as completions.
* loginctl,shell-completions: fix listing of sessions/users/seatsZbigniew Jędrzejewski-Szmek2013-12-212-6/+6
|
* journalctl,zsh-completion: fix several issues in --help message textJason St. John2013-12-181-7/+7
| | | | | | | | | | | | | -- fix grammar and reword some descriptions for clarity -- add a useful description of what --follow does -- fix the description for --after-cursor -- properly introduce the FSS acronym for "Forward Secure Sealing" in both sections -- clarify the --disk-usage command [zj: perform similar changes to zsh completions] squash! journalctl: fix several issues in --help message text
* shell-completion: busctlZbigniew Jędrzejewski-Szmek2013-12-055-4/+132
|
* shell-completion: systemctl catZbigniew Jędrzejewski-Szmek2013-11-304-5/+6
| | | | Also update -H help string to follow the binaries.
* bash-completion: journalctl --fileZbigniew Jędrzejewski-Szmek2013-11-151-1/+5
|
* zsh-completion: add bootctlMarko Myllynen2013-11-131-0/+25
|
* shell: add list-timers to systemctl completionsDave Reisner2013-11-112-2/+3
|
* zsh-completion: Move machine listing to autoloadWilliam Giokas2013-11-093-22/+15
| | | | | | | Instead of having two different listings of machines, use an autoloaded function that can be used by other shell completions in the future. It will also allow editing a single file to change the way machinectl and systemd-run completion for machines.
* zsh-completion: Move output modes to autoloadWilliam Giokas2013-11-093-14/+7
|
* zsh-completion: add missing options for systemd-runRonny Chevalier2013-11-071-0/+17
|
* zsh-completion: add systemd-runRonny Chevalier2013-10-301-0/+31
|
* udev: builtin - rename net_link to net_setup_linkTom Gundersen2013-10-292-2/+2
| | | | Also add shell completions.
* journalctl: add --list-boots to show boot IDs and timesZbigniew Jędrzejewski-Szmek2013-10-282-1/+2
| | | | | | | | | | Suggested by David Wilkins <dwilkins@maths.tcd.ie> in https://bugzilla.redhat.com/show_bug.cgi?id=967521: > [Specific boot ID is a] bit of a palaver to obtain. I consulted the > verbose dump of the journal to discover the _BOOT_ID for the > timestamp, and then generated the journal dump for that boot using > journalctl _BOOT_ID=foo -o short-monotonic.
* shell-completion: dump has moved to systemd-analyzeZbigniew Jędrzejewski-Szmek2013-10-214-5/+5
| | | | Rename NO_OPTION to STANDALONE for consistency with other files.
* completion/systemctl: add missing list-sockets verbDave Reisner2013-09-202-1/+2
|
* bash-completion: add systemd-runZbigniew Jędrzejewski-Szmek2013-09-121-0/+63
|
* shell-completions: systemd-analyze set-log-levelZbigniew Jędrzejewski-Szmek2013-08-282-1/+27
|
* zsh_completion: Fix --user-unit completionWilliam Giokas2013-08-241-2/+2
| | | | | | _SYSTEMD_USER_UNIT in the --user-unit flag argument should instead be USER_UNIT. It should also have an optional `=` between the flag and the argument.
* zsh_completion: Fix single letter argsWilliam Giokas2013-08-2311-33/+33
| | | | | | | | | | | | | Things like -n to specify the lines to show with systemctl and journalctl accepts syntax like: journalctl -n4 systemctl -n14 Previously, typing `-nXX <tab>` where XX is a number, zsh would try to complete an integer. Now it will see the XX and use the _journalctl_none completion. This is also how any of the single letter options that take arguments work as well.
* zsh_completion: Remove ctls function from _systemdWilliam Giokas2013-08-151-84/+79
| | | | The _ctls function in the main _systemd file is not needed.
* zsh_completion: machinectl properties can be stackedWilliam Giokas2013-08-151-1/+1
|
* zsh_completion: Allow specifying multiple argumentsWilliam Giokas2013-08-154-13/+37
| | | | | | | | | | Some of the options in systemd can take multiple arguments, such as systemctl's --type option. Previously, you would only be able to complete a single type after the -t, but now zsh will continue to complete the types, separating them by commas. systemd-inhibit's --what command has colon (:), and that has been taken into account.
* zsh_completion: Move helper function to autoloadWilliam Giokas2013-08-147-36/+11
| | | | | | | | | _hosts_or_user_at_host was used by 6 different completions, and previously was in all 6 of those files. I moved it out to its own file, _sd_hosts_or_user_at_host. This will be autoloaded for use in other completion functions. It also allows external completions to use this function by simply calling _sd_hosts_or_user_at_host as in the systemd completions.
* zsh_completion: Correctly display journal fieldsWilliam Giokas2013-08-141-2/+7
| | | | | Show equals and field values when used with _journal_none, don't show anything if we're not using _journal_none.
* shell-completion: tell bash about --stateZbigniew Jędrzejewski-Szmek2013-08-122-2/+7
|
* zsh completion: add _kernel-installDaniel Wallace2013-08-031-0/+26
|
* zsh_completion: add "gdb" verb to coredumpctlZbigniew Jędrzejewski-Szmek2013-08-021-1/+3
|
* zsh_completion: Speed up noncached perf of _journalctlWilliam Giokas2013-08-021-1/+2
| | | | | | Splitting things unnecessarily at newlines causes tab completion to take an extremely long time. Also add a note saying that caching is not good for journalctl's completion.
* zsh_completion: Split out zsh _systemd-tmpfilesWilliam Giokas2013-08-022-11/+11
| | | | | You can choose to have systemd-tmpfiles at configuration time, so only install the completion for this if configured to do so.
* zsh_completion: Fix journalctl's --bootWilliam Giokas2013-08-021-1/+10
| | | | Actually displays a list of boot ID's and offsets to the user
* zsh_completion: Remove unused functionsWilliam Giokas2013-08-021-13/+0
|
* zsh_completion: Split out zsh _machinectlWilliam Giokas2013-08-022-48/+48
|
* zsh_completion: Split out zsh _systemd-analyzeWilliam Giokas2013-08-022-27/+27
|
* zsh_completion: Split out zsh _systemd-inhibitWilliam Giokas2013-08-022-29/+28
|
* zsh_completion: Split out zsh _systemd-nspawnWilliam Giokas2013-08-022-25/+25
| | | | Also fix the random lack of completion
* zsh_completion: Split out zsh _udevadmWilliam Giokas2013-08-022-141/+142
|
* zsh_completion: Split out zsh _timedatectlWilliam Giokas2013-08-022-66/+72
|
* zsh_completion: Split out zsh _coredumpctlWilliam Giokas2013-08-022-37/+35
|
* zsh_completion: Split out zsh _localectlWilliam Giokas2013-08-022-85/+90
|
* zsh_completion: Split out zsh _journalctlWilliam Giokas2013-08-022-69/+84
| | | | | Re-ordered some of the options and added a few that were missing previously as well.
* zsh_completion: Split out zsh _hostnamectlWilliam Giokas2013-08-022-33/+39
|
* zsh_completion: Split out zsh _loginctlWilliam Giokas2013-08-022-108/+113
|
* zsh_completion: Split out zsh _systemctlWilliam Giokas2013-08-022-326/+341
|
* zsh_completion: fix zsh completion installationWilliam Giokas2013-08-021-0/+0
| | | | | | | | | | Moved zsh shell completion to shell-completion/zsh/_systemd for automake's sake. Also allow users to specify where the files should go with:: ./configure --with-zshcompletiondir=/path/to/some/where and by default going to `$datadir/zsh/site-functions`
* bash-completion: simplify udevadm completionDave Reisner2013-07-301-52/+45
| | | | | | The AA is unnecessary and only adds needless complexity. Replace it with a case statement instead of repeatedly calling __contains_word to overglorify string equalities.
* bash-completion: use a better definition of __contains_wordDave Reisner2013-07-309-27/+36
| | | | | | | | | | - scope the iterator var - use the correct, quoted, non-expansion prone positional parameter notation - prevent expansion on RHS of comparison - remove unneeded explicit returns. This really should be defined only once...
* simplify bash completion for kernel-installHarald Hoyer2013-07-301-41/+23
|
* shell-completion: add kernel-installKay Sievers2013-07-261-0/+68
|