summaryrefslogtreecommitdiff
path: root/shell-completion/zsh
Commit message (Collapse)AuthorAge
* Major cleanup of all leftovers after rebasing on master.Sven Eden2017-03-14
| | | | | | | | The patching of elogind in several steps with only partly rebasing on a common commit with upstream, left the tree in a state, that was unmergeable with master. By rebasing on master and manually cleaning up all commits, this merge is now possible. However, this process left some orphans, that are cleanup now.
* Prep v221: Update and clean up build system to sync with upstreamSven Eden2017-03-14
| | | | | | | | | | | | | | This commit replays the moving around of source files that have been done between systemd-219 and systemd-221. Further the Makefile.am is synchronized with the upstream version and then "re-cleaned". A lot of functions, that are not used anywhere in elogind have been coated into #if 0/#endif directives to further shorten the list of dependencies. All unneeded files have been removed.
* Prep v220: Remove all source files, taht are not needed to build elogind.Sven Eden2017-03-14
| | | | | | | | | | Prep v220: Remove not needed headers, round 1 Prep v220: Remove not needed headers, round 2 Prep v220: Remove not needed headers, round 3 Prep v220: Remove empty source directories Prep v220: Remove non-empty source directories, that aren't needed by elogind Prep v220: Remove all root directories that aren't referenced by the elogind build chain. Prep v220: remove superfluous src/import directory and systemd configurations and policies.
* zsh-completion: _loginctl/_systemd/_systemd-inhibit improvementsEric Cook2017-03-14
| | | | | | | | | | | | | | | | | | | | | | _loginctl: respects the verbose style. which allows a user to get the pre d5df0d950f8bc behavior of not showing a description for sessions and users, by default they aren't shown. zstyle ':completion:*' verbose true or zstyle ':completion:*:loginctl*:*' verbose true # or similar Will show the descriptions. zstyle ':completion:*' verbose true and zstyle ':completion:*:loginctl*:*' verbose false # or similar Won't show descriptions for loginctl only _systemd: complete pids for systemd-notify's --pid option. display a message of the expected argument for other options. _systemd-inhibit: complete block & delay for --mode display a message of the expected argument for --who/--why
* zsh-completion: _loginctl - general bug fixesEric Cook2017-03-14
| | | | | | | | | | | | | | | | | | | | | | 1) the iterator `fun' has an local scope. after running the completer, it will no longer be defined. 2) use _describe instead of calling compadd. Using compadd without calling _description or something similar before, restricts the user's ability to customize what is presented to them. zstyle ':completion:*' format 'Completing %d' - now displays an header showing what is being completed. zstyle ':completion::complete:loginctl-*::users' users user1 user2 - allows the user to manually specify which users is offered zstyle :completion::complete:loginctl-kill-user:\* \ ignored-patterns '(100<0-4>|user1)' - selectively ignore some users when completing loginctl kill-user <tab> Sessions, UIDs now have descriptions when selecting them. 3) removed the call to _loginctl_all_seats in _loginctl_attach(), since _loginctl_seats calls it a second time, right before adding matches. There isn't a noticeable difference doing this.
* zsh-completion: update loginctlRonny Chevalier2017-03-14
|
* remove shell completionAndy Wingo2015-04-08
|
* treewide: fix multiple typosTorstein Husebø2015-01-26
|
* zsh-completion: Do not interpret escape sequences in _filter_units_by_propertyWieland Hoffmann2015-01-21
| | | | | | | This makes all functions that rely on _filter_units_by_property() (like _systemctl_{stop,kill,try_restart}) work with unit names that contain backslash escaped sequences (like automount units with spaces that are escaped to "\x20").
* fix zsh completion typoMoez Bouhlel2015-01-15
| | | | json-see => json-sse
* zsh-completion: add missing completions for systemd-tmpfilesRonny Chevalier2015-01-12
|
* zsh-completion: add missing completions for systemd-runRonny Chevalier2015-01-12
|
* zsh-completion: add missing completions for systemd-analyzeRonny Chevalier2015-01-12
|
* zsh-completion: add missing -M completion for timedatectlRonny Chevalier2015-01-12
|
* zsh-completion: add missing completions for coredumpctlRonny Chevalier2015-01-12
|
* shell-completion: add missing output modesRonny Chevalier2015-01-09
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=88216
* zsh-completion: remove duplicate functionZbigniew Jędrzejewski-Szmek2014-12-10
| | | | https://bugs.archlinux.org/task/43069
* shell-completion: systemctl editRonny Chevalier2014-12-10
|
* hostnamed: introduce new "embedded" chassis typeLennart Poettering2014-11-06
| | | | | | | 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.
* zsh-completion: update start/restart completionsZbigniew Jędrzejewski-Szmek2014-10-29
| | | | Now zsh should behave the same for those two subcommands as bash.
* shell-completion: systemctl set-default,get-default,is-system-runningZbigniew Jędrzejewski-Szmek2014-10-27
|
* shell-completion: propose templates for disable/[re]enable/[re]startZbigniew Jędrzejewski-Szmek2014-10-14
| | | | | | | | | | | | | | 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
* shell-completion: fix completion of inactive unitsZbigniew Jędrzejewski-Szmek2014-10-14
| | | | | | | | | | | 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
* shell-completion(zsh): journalctl's -b changesEric Cook2014-09-27
| | | | | | 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
* readahead: wipe out readaheadDaniel Buch2014-09-25
|
* shell-completion: prevent mangling unit namesEric Cook2014-07-26
| | | | | | 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
* shell-completion: systemd-analyze verify, systemctl linkZbigniew Jędrzejewski-Szmek2014-07-21
| | | | | | | | Some zsh completion helpers were not installed, so completion was broken. Add systemd-analyze verify. Make systemctl link complete only unit names.
* shell-completion: restore completion for -pZbigniew Jędrzejewski-Szmek2014-07-15
| | | | | | It was broken since systemd was moved out of /bin. For zsh it was never there.
* shell-completion: add hostnamectl set-deploymentZbigniew Jędrzejewski-Szmek2014-07-11
|
* shell-completion,man: beef up chassis completions and descriptionZbigniew Jędrzejewski-Szmek2014-07-11
| | | | | Parameters to hostnamectl command are not optional and should not be marked as such in the man page.
* coredump: coredumpctl is so useful now, make it a first-class citizenLennart Poettering2014-06-19
| | | | | Drop the "systemd-" prefix, renaming it from "systemd-coredumpctl" to "coredumpctl".
* completions: fix/augment zsh completions for systemd-nspawn, busctl, ↵Daniel Mack2014-03-25
| | | | loginctl, hostnamectl, localectl, machinectl
* _sd_machines: Use machinectl --no-legendWieland Hoffmann2014-03-15
| | | | | Otherwise bogus entries from the header and footer would show up in the completion list.
* build-sys: add missing makefile symlinksLennart Poettering2014-02-26
|
* replace tabs with spaces in some filesJason St. John2014-02-21
| | | | | | | Files: * hwdb/60-keyboard.hwdb * shell-completion/zsh/_systemd-coredumpctl * src/test/test-helper.h
* zsh-completions: kernel-install - only show existing kernels for 'remove'Tom Gundersen2014-02-07
| | | | When we remove a kernel, we don't remove the modules, so don't look at the modules directory to find installed kernels.
* shell-completion: fix completion of localectl set-localeZbigniew Jędrzejewski-Szmek2014-02-06
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=74157
* shell-completion: remove load from systemctlLukas Nykryn2014-01-15
|
* loginctl,shell-completions: fix listing of sessions/users/seatsZbigniew Jędrzejewski-Szmek2013-12-21
|
* journalctl,zsh-completion: fix several issues in --help message textJason St. John2013-12-18
| | | | | | | | | | | | | -- 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-05
|
* shell-completion: systemctl catZbigniew Jędrzejewski-Szmek2013-11-30
| | | | Also update -H help string to follow the binaries.
* zsh-completion: add bootctlMarko Myllynen2013-11-13
|
* shell: add list-timers to systemctl completionsDave Reisner2013-11-11
|
* zsh-completion: Move machine listing to autoloadWilliam Giokas2013-11-09
| | | | | | | 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-09
|
* zsh-completion: add missing options for systemd-runRonny Chevalier2013-11-07
|
* zsh-completion: add systemd-runRonny Chevalier2013-10-30
|
* udev: builtin - rename net_link to net_setup_linkTom Gundersen2013-10-29
| | | | Also add shell completions.
* journalctl: add --list-boots to show boot IDs and timesZbigniew Jędrzejewski-Szmek2013-10-28
| | | | | | | | | | 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.