summaryrefslogtreecommitdiff
path: root/shell-completion
AgeCommit message (Collapse)AuthorFilesLines
2014-03-25completions: fix/augment zsh completions for systemd-nspawn, busctl, ↵Daniel Mack6-7/+44
loginctl, hostnamectl, localectl, machinectl
2014-03-25systemctl: --kill-mode is long long gone, don't mention it in the man pageLennart Poettering1-4/+1
2014-03-17systemd-run: extend bash completionThomas Hindoe Paaboel Andersen1-2/+40
--system -H --host -M --machine --service-type (options: simple forking oneshot dbus notify idle) --uid --gid --nice --setenv -p --property (options read from bus_append_unit_property_assignment)
2014-03-15_sd_machines: Use machinectl --no-legendWieland Hoffmann1-1/+1
Otherwise bogus entries from the header and footer would show up in the completion list.
2014-03-04add bash completion for systemd-catThomas Hindoe Paaboel Andersen1-0/+57
2014-03-03add bash completion for systemd-detect-virtThomas Hindoe Paaboel Andersen1-0/+40
2014-03-03update bash completion for systemd-analyzeThomas Hindoe Paaboel Andersen1-1/+23
2014-03-02add bash completion for systemd-cgtopThomas Hindoe Paaboel Andersen1-0/+40
2014-03-01add bash completion for systemd-cglsThomas Hindoe Paaboel Andersen1-0/+56
2014-03-01bash: add completion for systemd-nspawnThomas Andersen1-0/+112
2014-02-26build-sys: add missing makefile symlinksLennart Poettering3-0/+3
2014-02-21replace tabs with spaces in some filesJason St. John1-2/+2
Files: * hwdb/60-keyboard.hwdb * shell-completion/zsh/_systemd-coredumpctl * src/test/test-helper.h
2014-02-20bootctl: add bash completionThomas Hindoe Paaboel Andersen1-0/+60
2014-02-19busctl: add --no-legend and use in bash completionThomas Hindoe Paaboel Andersen1-2/+2
2014-02-19busctl: update bash completionThomas Hindoe Paaboel Andersen1-5/+20
2014-02-18delta: add bash completionThomas Hindoe Paaboel Andersen1-0/+61
2014-02-18machinectl: add bash completionThomas Hindoe Paaboel Andersen1-0/+97
2014-02-07zsh-completions: kernel-install - only show existing kernels for 'remove'Tom Gundersen1-1/+1
When we remove a kernel, we don't remove the modules, so don't look at the modules directory to find installed kernels.
2014-02-06shell-completion: fix completion of localectl set-localeZbigniew Jędrzejewski-Szmek2-6/+27
https://bugs.freedesktop.org/show_bug.cgi?id=74157
2014-02-06bash-completion: fix completion of complete verbsZbigniew Jędrzejewski-Szmek8-8/+8
When doing 'command verb<TAB>', the arguments for verb would be proposed, but it is too early. We should complete verb first. https://bugs.freedesktop.org/show_bug.cgi?id=74596
2014-01-15shell-completion: remove load from systemctlLukas Nykryn2-3/+2
2013-12-26Revert "completion: don't offer completions for journalctl -b"Lennart Poettering1-2/+2
This reverts commit c756a6d57cdb678b702c68913dae3e11ff0427ae.
2013-12-25completion: don't offer completions for journalctl -bDave Reisner1-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.
2013-12-21loginctl,shell-completions: fix listing of sessions/users/seatsZbigniew Jędrzejewski-Szmek2-6/+6
2013-12-18journalctl,zsh-completion: fix several issues in --help message textJason St. John1-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
2013-12-05shell-completion: busctlZbigniew Jędrzejewski-Szmek5-4/+132
2013-11-30shell-completion: systemctl catZbigniew Jędrzejewski-Szmek4-5/+6
Also update -H help string to follow the binaries.
2013-11-15bash-completion: journalctl --fileZbigniew Jędrzejewski-Szmek1-1/+5
2013-11-13zsh-completion: add bootctlMarko Myllynen1-0/+25
2013-11-11shell: add list-timers to systemctl completionsDave Reisner2-2/+3
2013-11-09zsh-completion: Move machine listing to autoloadWilliam Giokas3-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.
2013-11-09zsh-completion: Move output modes to autoloadWilliam Giokas3-14/+7
2013-11-07zsh-completion: add missing options for systemd-runRonny Chevalier1-0/+17
2013-10-30zsh-completion: add systemd-runRonny Chevalier1-0/+31
2013-10-29udev: builtin - rename net_link to net_setup_linkTom Gundersen2-2/+2
Also add shell completions.
2013-10-28journalctl: add --list-boots to show boot IDs and timesZbigniew Jędrzejewski-Szmek2-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.
2013-10-21shell-completion: dump has moved to systemd-analyzeZbigniew Jędrzejewski-Szmek4-5/+5
Rename NO_OPTION to STANDALONE for consistency with other files.
2013-09-20completion/systemctl: add missing list-sockets verbDave Reisner2-1/+2
2013-09-12bash-completion: add systemd-runZbigniew Jędrzejewski-Szmek1-0/+63
2013-08-28shell-completions: systemd-analyze set-log-levelZbigniew Jędrzejewski-Szmek2-1/+27
2013-08-24zsh_completion: Fix --user-unit completionWilliam Giokas1-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.
2013-08-23zsh_completion: Fix single letter argsWilliam Giokas11-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.
2013-08-15zsh_completion: Remove ctls function from _systemdWilliam Giokas1-84/+79
The _ctls function in the main _systemd file is not needed.
2013-08-15zsh_completion: machinectl properties can be stackedWilliam Giokas1-1/+1
2013-08-15zsh_completion: Allow specifying multiple argumentsWilliam Giokas4-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.
2013-08-14zsh_completion: Move helper function to autoloadWilliam Giokas7-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.
2013-08-14zsh_completion: Correctly display journal fieldsWilliam Giokas1-2/+7
Show equals and field values when used with _journal_none, don't show anything if we're not using _journal_none.
2013-08-12shell-completion: tell bash about --stateZbigniew Jędrzejewski-Szmek2-2/+7
2013-08-03zsh completion: add _kernel-installDaniel Wallace1-0/+26
2013-08-02zsh_completion: add "gdb" verb to coredumpctlZbigniew Jędrzejewski-Szmek1-1/+3