summaryrefslogtreecommitdiff
path: root/shell-completion/zsh
AgeCommit message (Collapse)Author
2014-12-10shell-completion: systemctl editRonny Chevalier
2014-11-06hostnamed: introduce new "embedded" chassis typeLennart Poettering
We really don't want to get lost in adding fridge, car, plane, drone, or whatever else, hence add a generic term "embedded" cover all the cases where the computer is just part of something bigger, and not at the focus of things.
2014-10-29zsh-completion: update start/restart completionsZbigniew Jędrzejewski-Szmek
Now zsh should behave the same for those two subcommands as bash.
2014-10-27shell-completion: systemctl set-default,get-default,is-system-runningZbigniew Jędrzejewski-Szmek
2014-10-14shell-completion: propose templates for disable/[re]enable/[re]startZbigniew Jędrzejewski-Szmek
Templates can be [re]enabled, on their own if the have DefaultInstance set, and with an instance suffix in all cases. Propose just the template name ending in @, to underline the instance suffix may have to be appended. Likewise for start/restart. This means that sometimes superflous units that one will not really want to operate on will be proposed, but this seems better than proposing a very incomplete set of names. https://bugs.freedesktop.org/show_bug.cgi?id=66912
2014-10-14shell-completion: fix completion of inactive unitsZbigniew Jędrzejewski-Szmek
Units which not loaded were not proposed properly. OTOH, we should filter units from get-unit-files by their state if they are currently loaded. Bring zsh completions in line with bash completion, the same logic should be used in both implementations. https://bugzilla.redhat.com/show_bug.cgi?id=1024379 https://bugzilla.redhat.com/show_bug.cgi?id=790768 https://bugs.freedesktop.org/show_bug.cgi?id=84720
2014-09-27shell-completion(zsh): journalctl's -b changesEric Cook
removed pointless index sort of bootids. use `compadd -a' to add each array, instead of expanding possibly hundreds of words needlessly. optional completion of -b
2014-09-25readahead: wipe out readaheadDaniel Buch
2014-07-26shell-completion: prevent mangling unit namesEric Cook
Units with literal hex '\xFF' in their names has to be read and printed properly. dev-disk-byx2dlabel-root.device != dev-disk-by\x2dlabel-root.device
2014-07-21shell-completion: systemd-analyze verify, systemctl linkZbigniew Jędrzejewski-Szmek
Some zsh completion helpers were not installed, so completion was broken. Add systemd-analyze verify. Make systemctl link complete only unit names.
2014-07-15shell-completion: restore completion for -pZbigniew Jędrzejewski-Szmek
It was broken since systemd was moved out of /bin. For zsh it was never there.
2014-07-11shell-completion: add hostnamectl set-deploymentZbigniew Jędrzejewski-Szmek
2014-07-11shell-completion,man: beef up chassis completions and descriptionZbigniew Jędrzejewski-Szmek
Parameters to hostnamectl command are not optional and should not be marked as such in the man page.
2014-06-19coredump: coredumpctl is so useful now, make it a first-class citizenLennart Poettering
Drop the "systemd-" prefix, renaming it from "systemd-coredumpctl" to "coredumpctl".
2014-03-25completions: fix/augment zsh completions for systemd-nspawn, busctl, ↵Daniel Mack
loginctl, hostnamectl, localectl, machinectl
2014-03-15_sd_machines: Use machinectl --no-legendWieland Hoffmann
Otherwise bogus entries from the header and footer would show up in the completion list.
2014-02-26build-sys: add missing makefile symlinksLennart Poettering
2014-02-21replace tabs with spaces in some filesJason St. John
Files: * hwdb/60-keyboard.hwdb * shell-completion/zsh/_systemd-coredumpctl * src/test/test-helper.h
2014-02-07zsh-completions: kernel-install - only show existing kernels for 'remove'Tom Gundersen
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-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=74157
2014-01-15shell-completion: remove load from systemctlLukas Nykryn
2013-12-21loginctl,shell-completions: fix listing of sessions/users/seatsZbigniew Jędrzejewski-Szmek
2013-12-18journalctl,zsh-completion: fix several issues in --help message textJason St. John
-- 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-Szmek
2013-11-30shell-completion: systemctl catZbigniew Jędrzejewski-Szmek
Also update -H help string to follow the binaries.
2013-11-13zsh-completion: add bootctlMarko Myllynen
2013-11-11shell: add list-timers to systemctl completionsDave Reisner
2013-11-09zsh-completion: Move machine listing to autoloadWilliam Giokas
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 Giokas
2013-11-07zsh-completion: add missing options for systemd-runRonny Chevalier
2013-10-30zsh-completion: add systemd-runRonny Chevalier
2013-10-29udev: builtin - rename net_link to net_setup_linkTom Gundersen
Also add shell completions.
2013-10-28journalctl: add --list-boots to show boot IDs and timesZbigniew Jędrzejewski-Szmek
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-Szmek
Rename NO_OPTION to STANDALONE for consistency with other files.
2013-09-20completion/systemctl: add missing list-sockets verbDave Reisner
2013-08-28shell-completions: systemd-analyze set-log-levelZbigniew Jędrzejewski-Szmek
2013-08-24zsh_completion: Fix --user-unit completionWilliam Giokas
_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 Giokas
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 Giokas
The _ctls function in the main _systemd file is not needed.
2013-08-15zsh_completion: machinectl properties can be stackedWilliam Giokas
2013-08-15zsh_completion: Allow specifying multiple argumentsWilliam Giokas
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 Giokas
_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 Giokas
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-Szmek
2013-08-03zsh completion: add _kernel-installDaniel Wallace
2013-08-02zsh_completion: add "gdb" verb to coredumpctlZbigniew Jędrzejewski-Szmek
2013-08-02zsh_completion: Speed up noncached perf of _journalctlWilliam Giokas
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.
2013-08-02zsh_completion: Split out zsh _systemd-tmpfilesWilliam Giokas
You can choose to have systemd-tmpfiles at configuration time, so only install the completion for this if configured to do so.
2013-08-02zsh_completion: Fix journalctl's --bootWilliam Giokas
Actually displays a list of boot ID's and offsets to the user
2013-08-02zsh_completion: Remove unused functionsWilliam Giokas