summaryrefslogtreecommitdiff
path: root/shell-completion
AgeCommit message (Collapse)Author
2013-11-15bash-completion: journalctl --fileZbigniew Jędrzejewski-Szmek
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-09-12bash-completion: add systemd-runZbigniew Jędrzejewski-Szmek
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
2013-08-02zsh_completion: Split out zsh _machinectlWilliam Giokas
2013-08-02zsh_completion: Split out zsh _systemd-analyzeWilliam Giokas
2013-08-02zsh_completion: Split out zsh _systemd-inhibitWilliam Giokas
2013-08-02zsh_completion: Split out zsh _systemd-nspawnWilliam Giokas
Also fix the random lack of completion
2013-08-02zsh_completion: Split out zsh _udevadmWilliam Giokas
2013-08-02zsh_completion: Split out zsh _timedatectlWilliam Giokas
2013-08-02zsh_completion: Split out zsh _coredumpctlWilliam Giokas
2013-08-02zsh_completion: Split out zsh _localectlWilliam Giokas
2013-08-02zsh_completion: Split out zsh _journalctlWilliam Giokas
Re-ordered some of the options and added a few that were missing previously as well.
2013-08-02zsh_completion: Split out zsh _hostnamectlWilliam Giokas
2013-08-02zsh_completion: Split out zsh _loginctlWilliam Giokas
2013-08-02zsh_completion: Split out zsh _systemctlWilliam Giokas
2013-08-02zsh_completion: fix zsh completion installationWilliam Giokas
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`
2013-07-30bash-completion: simplify udevadm completionDave Reisner
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.
2013-07-30bash-completion: use a better definition of __contains_wordDave Reisner
- 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...
2013-07-30simplify bash completion for kernel-installHarald Hoyer
2013-07-26shell-completion: add kernel-installKay Sievers
2013-07-24tmpfiles: introduce --exclude-prefixDave Reisner
The opposite of --prefix, allows specifying path prefixes which should be skipped when processing rules.
2013-07-24shell-completion: Add machinectl zsh completionWilliam Giokas
2013-07-16journalctl: Add support for showing messages from a previous bootJan Janssen
Hi, I redid the boot ID look up to use enumerate_unique. This is quite fast if the cache is warm but painfully slow if it isn't. It has a slight chance of returning the wrong order if realtime clock jumps around. This one has to do n searches for every boot ID there is plus a sort, so it depends heavily on cache hotness. This is in contrast to the other way of look-up through filtering by a MESSAGE_ID, which only needs about 1 seek + whatever amount of relative IDs you want to walk. I also have a linked-list + (in-place) mergesort version of this patch, which has pretty much the same runtime. But since this one is using libc sorting and armortized allocation, I prefer this one. To summarize: The MESSAGE_ID way is a *lot* faster but can be incomplete due to rotation, while the enumerate+sort will find every boot ID out there but will be painfully slow for large journals and cold caches. You choose :P Jan
2013-07-10udev: add builtin 'keyboard' to manage key mappingsKay Sievers
2013-06-17journalctl,loginctl,systemctl,systemd-cgls: add -l as alias for --fullDaniel Albers
https://bugs.freedesktop.org/show_bug.cgi?id=65850
2013-06-10journalctl: add --system/--user flagsZbigniew Jędrzejewski-Szmek
--user basically gives messages from your own systemd --user services. --system basically gives messages from PID 1, kernel, and --system services. Those two options are not exahustive, because a priviledged user might be able to see messages from other users, and they will not be shown with either or both of those flags.