Franck Bui
d82fabdb7f
bash-completion: add minimal support fpr 'set-property' command
...
'set-property' was missing from the list of known command.
Also a list of unit names will be proposed as next argument.
However no support on property names is provided since it would
require a hard coded list of them.
2015-11-04 08:42:16 +01:00
Lennart Poettering
5732a7dbb0
Merge pull request #1690 from evverx/run-runtime-directory
...
systemd-run can launch units with RuntimeDirectory
2015-11-02 20:16:18 +01:00
Evgeny Vereshchagin
93557fcb5d
shell-completion: systemctl: show completions for user
in global
mode
2015-10-30 04:55:32 +03:00
Evgeny Vereshchagin
1012972478
shell-completion: hostnamectl: add the command set-location
2015-10-29 07:47:16 +03:00
Evgeny Vereshchagin
dcebcd7ade
shell-completion: systemd-run: add the property RuntimeDirectory
2015-10-27 05:18:12 +03:00
Evgeny Vereshchagin
64fa5643df
shell-completion: systemd-run: add the property ProtectHome
2015-10-26 00:22:34 +00:00
Zbigniew Jędrzejewski-Szmek
5ef80f3bbb
zsh-completion: journalctl --identifier
...
Fixes #1549 .
2015-10-25 10:49:19 -04:00
Evgeny Vereshchagin
4e79ac4425
shell-completion: systemd-run: add the property ProtectSystem
2015-10-24 22:49:46 +00:00
Nicolas Cornu
7e7cd2526d
shell-completion: systemd-run: add new property EnvironmentFile
2015-10-21 16:18:59 +02:00
Nicolas Cornu
5ffd7671cc
Add zsh completion on systemd-run's properties
2015-10-21 15:51:09 +02:00
Evgeny Vereshchagin
64a713d94d
shell-completion: systemd-run: add new properties
...
"ReadWriteDirectories", "ReadOnlyDirectories", "InaccessibleDirectories"
2015-10-20 22:03:49 +00:00
Evgeny Vereshchagin
e9cc999a30
shell-completion: systemd-run: add property OOMScoreAdjust
2015-10-17 20:03:40 +00:00
Evgeny Vereshchagin
8d2bc8e5fd
shell-completion: systemd-run: add TimerSlackNSec property
2015-10-15 10:01:09 +00:00
Evgeny Vereshchagin
75d73dc9d0
shell-completion: systemd-run: add SyslogFacility property
2015-10-14 15:05:14 +00:00
Evgeny Vereshchagin
7135129e0a
shell-completion: systemd-run: add SyslogLevel property
2015-10-14 14:48:55 +00:00
Lennart Poettering
b3ccac01cc
zsh: don't mention /etc/mtab
...
The file is obsolete, use /proc/self/mounts instead.
Also, yuck, the code is so awful...
2015-10-09 17:20:32 +02:00
Evgeny Vereshchagin
dc800d8406
shell-completion: systemd-run: add new properties
2015-10-09 12:42:34 +00:00
Evgeny Vereshchagin
f961371fb7
shell-completion: systemd-run: add new properties
...
See:
* 602b83559a7cfcd3eee05
* b9c50073fcc1460ca1ff3
2015-10-09 06:49:46 +03:00
Lennart Poettering
1af1f2f92e
shell-completion: add pseudo machine ".host" to shell completion
2015-10-08 15:14:27 +02:00
Lennart Poettering
56f3cb335a
shell-completion: add "machinectl shell" to bash completion logic
2015-10-08 15:03:31 +02:00
Lennart Poettering
23a749f285
Merge pull request #1419 from keszybz/shell-completion
...
Shell completion tweaks
2015-09-30 22:32:09 +02:00
Evgeny Vereshchagin
0c66ffd8b9
shell-completion: journalctl: add --rotate
2015-09-30 22:58:05 +03:00
Zbigniew Jędrzejewski-Szmek
4ed2f1b1f1
bash-completion: remove one more sort and sub-shell
...
{} is preferred to (), because the first is just grouping, while the
second invokes a separate shell.
2015-09-28 17:23:53 -04:00
Zbigniew Jędrzejewski-Szmek
db79008804
bash-completion: use builtins when generating list
2015-09-28 15:42:27 -04:00
Zbigniew Jędrzejewski-Szmek
b00c1cf9d6
bash-completion: use builtins when generating list
...
awk is an external program, and it is better to stick to shell built-ins.
Also, even with external awk, sort -u is redundant, because the shell does
this on its own.
2015-09-28 15:23:04 -04:00
Zbigniew Jędrzejewski-Szmek
840b2c0e77
shell-completion: use systemctl --state=help
...
This way completion lists should stay up to date.
Also use systemctl -t help to list types in zsh, as was already
done in bash.
2015-09-28 15:10:03 -04:00
Evgeny Vereshchagin
043a090d7d
shell-completion: nspawn: add missing values for --link-journal
2015-09-26 04:10:08 +03:00
Evgeny Vereshchagin
6409d3af08
shell-completion: journalctl: add missing options
2015-09-25 04:24:29 +03:00
Evgeny Vereshchagin
023dd03a42
shell-completion: journalctl: add missing fields
2015-09-25 03:52:07 +03:00
Evgeny Vereshchagin
a2accacb98
shell-completion: cgtop bash completion: add -r,--raw,-k,-P,--order
2015-09-21 17:33:00 +00:00
Evgeny Vereshchagin
79af4b6c1c
shell-completion: cgtop bash completion: -n,--iterations,-d,--delay require arg
2015-09-21 17:09:40 +00:00
Evgeny Vereshchagin
73b73b762c
shell-completion: update systemd-cgtop bash completion: --recursive
2015-09-21 16:54:58 +00:00
Evgeny Vereshchagin
96a6426f30
cgtop: add -M/--machine
2015-09-21 12:04:45 +00:00
Evgeny Vereshchagin
20ba8107a5
shell-completion: update systemd-analyze bash-completion
...
* Change --no-man to --man (see dad29df)
* --{from,to}-pattern require arg
2015-09-07 04:51:21 +03:00
Evgeny Vereshchagin
3a221b5df8
shell-completion: update systemctl bash completion
...
Many new options have been added since the bash completion was last
updated.
2015-09-04 23:04:10 +03:00
Evgeny Vereshchagin
8c7db2fb21
run: enable interactive authorization
2015-09-01 16:43:08 +00:00
Evgeny Vereshchagin
e50e53876f
shell-completion: bash: add systemd-path completion
2015-08-31 19:24:16 +00:00
Evgeny Vereshchagin
e4f246b1b5
shell-completion: bash: add networkctl completion
2015-08-28 18:01:48 +00:00
Evgeny Vereshchagin
17e98b9177
shell-completion: add failed
state to --state compwords
2015-08-28 00:36:02 +00:00
Evgeny Vereshchagin
20bde81923
shell-completion: update systemd-run bash completion
...
Many new options have been added since the bash completion was last
updated.
2015-08-27 23:30:11 +00:00
Seth Jennings
4acd40613f
shell-completion: bash: make list-transfers and cancel-transfer STANDALONE
...
list-transfers and cancel-transfers don't take machine arguments.
2015-08-18 13:22:42 -05:00
Seth Jennings
2977883de2
shell-completion: bash: add image transfer subcommands
2015-08-18 13:20:12 -05:00
Lennart Poettering
7b0991c617
Merge pull request #931 from spartacus06/update-completion-machinectl
...
Update shell completion for machinectl
2015-08-16 19:58:49 +02:00
Seth Jennings
4f8f4c310c
shell-completion: use list-images rather than list
...
"machinectl list" only lists running machines while many of the MACHINES
commands use names of images; both running and non-running.
List machines from both "list" and "list-images" and use sort -u to
avoid duplicates.
2015-08-16 11:20:21 -05:00
Seth Jennings
6eb8bec62d
shell-completion: update machinectl bash completion
...
Many new subcommands have been added since the bash completion was last
updated. Bring it up to speed.
2015-08-16 11:19:36 -05:00
Lennart Poettering
9c75b2538a
Merge pull request #947 from evverx/bash-completion
...
Update bash-completion: generate all unit types
2015-08-16 17:04:57 +02:00
Evgeny Vereshchagin
adb0c25eb6
bash-completion: generate unit type list from systemctl -t help option
2015-08-16 14:53:21 +00:00
Nicolas Cornu
cade10ccef
zsh completion: update busctl
2015-08-15 13:58:05 +02:00
Eric Cook
fb9d85b71a
zsh-completion: _loginctl/_systemd/_systemd-inhibit improvements
...
_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
2015-06-22 18:07:32 -04:00
Eric Cook
38cf1e292b
zsh-completion: _systemd-nspawn - add more argument completion
...
filenames will be completed for --image/-i/--bind/--bind-ro/--tmpfs
network interfaces for --network-(interface|macvlan|ipvlan|bridge)
users for --user/-u, yes & no for --register, x86 * x86-64 for
--personality
display a message of the expected argument for --machine/-M/--uuid
--slice/-S/--port/-p/--selinux-*/-Z/-L/--setenv
Allow completing commands(and their options) of the host system for COMMAND
2015-06-21 21:59:26 -04:00