summaryrefslogtreecommitdiff
path: root/shell-completion
Commit message (Collapse)AuthorAge
...
* shell-completion: dump has moved to systemd-analyzeZbigniew Jędrzejewski-Szmek2013-10-21
| | | | Rename NO_OPTION to STANDALONE for consistency with other files.
* completion/systemctl: add missing list-sockets verbDave Reisner2013-09-20
|
* bash-completion: add systemd-runZbigniew Jędrzejewski-Szmek2013-09-12
|
* shell-completions: systemd-analyze set-log-levelZbigniew Jędrzejewski-Szmek2013-08-28
|
* zsh_completion: Fix --user-unit completionWilliam Giokas2013-08-24
| | | | | | _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-23
| | | | | | | | | | | | | 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-15
| | | | The _ctls function in the main _systemd file is not needed.
* zsh_completion: machinectl properties can be stackedWilliam Giokas2013-08-15
|
* zsh_completion: Allow specifying multiple argumentsWilliam Giokas2013-08-15
| | | | | | | | | | 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-14
| | | | | | | | | _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-14
| | | | | 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-12
|
* zsh completion: add _kernel-installDaniel Wallace2013-08-03
|
* zsh_completion: add "gdb" verb to coredumpctlZbigniew Jędrzejewski-Szmek2013-08-02
|
* zsh_completion: Speed up noncached perf of _journalctlWilliam Giokas2013-08-02
| | | | | | 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-02
| | | | | 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-02
| | | | Actually displays a list of boot ID's and offsets to the user
* zsh_completion: Remove unused functionsWilliam Giokas2013-08-02
|
* zsh_completion: Split out zsh _machinectlWilliam Giokas2013-08-02
|
* zsh_completion: Split out zsh _systemd-analyzeWilliam Giokas2013-08-02
|
* zsh_completion: Split out zsh _systemd-inhibitWilliam Giokas2013-08-02
|
* zsh_completion: Split out zsh _systemd-nspawnWilliam Giokas2013-08-02
| | | | Also fix the random lack of completion
* zsh_completion: Split out zsh _udevadmWilliam Giokas2013-08-02
|
* zsh_completion: Split out zsh _timedatectlWilliam Giokas2013-08-02
|
* zsh_completion: Split out zsh _coredumpctlWilliam Giokas2013-08-02
|
* zsh_completion: Split out zsh _localectlWilliam Giokas2013-08-02
|
* zsh_completion: Split out zsh _journalctlWilliam Giokas2013-08-02
| | | | | Re-ordered some of the options and added a few that were missing previously as well.
* zsh_completion: Split out zsh _hostnamectlWilliam Giokas2013-08-02
|
* zsh_completion: Split out zsh _loginctlWilliam Giokas2013-08-02
|
* zsh_completion: Split out zsh _systemctlWilliam Giokas2013-08-02
|
* zsh_completion: fix zsh completion installationWilliam Giokas2013-08-02
| | | | | | | | | | 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-30
| | | | | | 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-30
| | | | | | | | | | - 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-30
|
* shell-completion: add kernel-installKay Sievers2013-07-26
|
* tmpfiles: introduce --exclude-prefixDave Reisner2013-07-24
| | | | | The opposite of --prefix, allows specifying path prefixes which should be skipped when processing rules.
* shell-completion: Add machinectl zsh completionWilliam Giokas2013-07-24
|
* journalctl: Add support for showing messages from a previous bootJan Janssen2013-07-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* udev: add builtin 'keyboard' to manage key mappingsKay Sievers2013-07-10
|
* journalctl,loginctl,systemctl,systemd-cgls: add -l as alias for --fullDaniel Albers2013-06-17
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=65850
* journalctl: add --system/--user flagsZbigniew Jędrzejewski-Szmek2013-06-10
| | | | | | | | --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.
* systemctl: add commands set-default and get-defaultVáclav Pavlín2013-05-30
| | | | | systemctl set-default NAME links the default.target to the given unit, get-default prints out the path to the currently set default target.
* zsh_completion: complete only pids for systemd-coredumpctlDaniel Wallace2013-05-06
| | | | | | | | | | | | | | Instead of completing the whole line, which doesn't work, only complete the pid, but still show the whole line so the user can see which command was which. Users can also let the parameter expansion sort the completion by date instead of by pid, by setting zstyle ':completion:*:*:systemd-coredumpctl:*' sort no so that the zshcompsys doesn't sort the _describe function for only systemd-coredumpctl.
* zsh_completion: fix udevadm monitor flagsDaniel Wallace2013-05-01
| | | | | The brackets in the _arguments description of udevadm monitor need to be escaped.
* zsh-completion: add s-a critical-chainZbigniew Jędrzejewski-Szmek2013-05-01
|
* systemd-analyse: add "critical-chain" commandHarald Hoyer2013-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "critical-chain" prints a tree of the critical chain of units $ ./systemd-analyze critical-chain graphical.target @1.226s └─multi-user.target @1.226s └─nfs-lock.service @961ms +265ms └─rpcbind.service @958ms +1ms └─network.target @957ms └─NetworkManager.service @434ms +522ms └─basic.target @428ms └─sockets.target @428ms └─dbus.socket @428ms └─sysinit.target @427ms └─systemd-tmpfiles-setup.service @411ms +15ms └─local-fs.target @410ms └─boot-efi.automount @410ms └─boot.mount @397ms +9ms └─local-fs-pre.target @192ms └─systemd-udevd.service @187ms +5ms └─systemd-udevd-control.socket @140ms └─-.mount With the "--fuzz=<ms>" parameter one can display more units around the critical units. $ ./systemd-analyze --fuzz=10ms critical-chain └─multi-user.target @1.226s └─nfs-lock.service @961ms +265ms ├─rpcbind.service @958ms +1ms │ └─network.target @957ms │ └─NetworkManager.service @434ms +522ms │ ├─basic.target @428ms │ │ ├─sockets.target @428ms │ │ │ ├─dbus.socket @428ms │ │ │ │ └─sysinit.target @427ms │ │ │ │ ├─systemd-tmpfiles-setup.service @411ms +15ms │ │ │ │ │ └─local-fs.target @410ms │ │ │ │ │ └─boot-efi.automount @410ms │ │ │ │ │ └─boot.mount @397ms +9ms │ │ │ │ │ └─local-fs-pre.target @192ms │ │ │ │ │ └─systemd-udevd.service @187ms +5ms │ │ │ │ │ ├─systemd-udevd-control.socket @140ms │ │ │ │ │ │ └─-.mount │ │ │ │ │ └─systemd-udevd-kernel.socket @140ms │ │ │ │ └─swap.target @421ms │ │ │ │ └─dev-disk-by\x2duuid-....swap @414ms +6ms │ │ │ │ └─systemd-journald.socket │ │ │ ├─rpcbind.socket @428ms │ │ │ └─cups.socket @428ms │ │ ├─paths.target @428ms │ │ │ └─cups.path @428ms │ │ ├─timers.target @427ms │ │ │ └─systemd-tmpfiles-clean.timer @427ms │ │ └─sysinit.target @427ms │ │ └─... │ └─dbus.socket @428ms │ └─... └─network.target @957ms └─...
* add bash completion for systemd-analyzeHarald Hoyer2013-04-24
|
* systemctl: show reverse dependencies or before/after orderingZbigniew Jędrzejewski-Szmek2013-04-24
| | | | Also update completion scripts a bit.
* shell-completion: add shell completion for "systemctl help"Harald Hoyer2013-04-22
|
* shell-completion: use -a to see "empty" propertiesZbigniew Jędrzejewski-Szmek2013-04-17
|