Kay Sievers
bd49c40537
bash-completion > shell-completion
2012-11-03 22:10:32 +01:00
Zbigniew Jędrzejewski-Szmek
26acfdae44
bash-completion: add completion for coredumpctl
2012-10-30 11:28:48 +01:00
Dave Reisner
35cdd0437d
bash-completion: avoid usage of ls for listing devices
2012-10-28 12:27:27 -04:00
Kay Sievers
0caa6ba969
bash-completion: add minimal 'udevadm' support
2012-10-28 17:18:55 +01:00
Ramkumar Ramachandra
a8f454e8a3
completion: fix typo in accessing array index
...
Remove spurious '}'. This error went unnoticed so far because Bash
doesn't complain.
2012-10-28 02:14:41 +02:00
Dave Reisner
b80f194eea
bash-compleiton: add missing --disk-usage option for journalctl
2012-10-26 19:22:32 -04:00
Dave Reisner
1d870ac769
bash-completion: update journalctl for recently added flags
...
Fixes a few minor bugs as well with flags which take arguments but for
which the values can never be known.
2012-10-21 16:47:15 -04:00
Dave Reisner
0dd1795907
bash-completion: avoid appending space after field competion
...
Resolves the TODO, and also uses compgen's -S flag to append the
trailing equals, rather than relying on an array-wide parameter
expansion.
Suggested-by: Ran Benita <ran234@gmail.com>
2012-10-20 18:38:28 -04:00
Dave Reisner
a632a03076
bash-completion: ensure iterators are locally scoped
...
Avoids leaking the 'i' variable to the user's shell session.
2012-10-20 17:54:08 -04:00
Dave Reisner
26be51de33
bash-completion: add completions for hostnamectl
2012-10-20 17:48:11 -04:00
Dave Reisner
44e2f7316c
bash-completion: add completions for localectl
2012-10-20 08:27:52 -04:00
Dave Reisner
5c840a2dad
bash-completion: add completions for timedatectl
2012-10-20 08:27:52 -04:00
Dave Reisner
ad57912eb0
bash-completion: complete values for journal fields
...
This adds completion for the new -F, --field flag, but also uses this
option directly from journalctl to complete values for fields which
might be used as filters.
2012-10-18 17:44:59 -04:00
Dave Reisner
cb273c51ea
bash-completion: fix whitespace
...
Use spaces for indentation instead of tabs.
2012-09-21 18:53:49 -04:00
Dave Reisner
3d3e4405ba
bash-completion: add rumidentary support for journalctl
2012-09-21 18:53:49 -04:00
Gert Michael Kulyk
80d37ae7b9
bash: Reflect new name of loginctl in bash-completion script
...
https://bugs.freedesktop.org/show_bug.cgi?id=50402
2012-05-29 19:47:20 +02:00
Michal Schmidt
f6a6814947
bash-completion: use printf instead of echo
...
If the expanded argument begins with '-', echo would try to interpret
it as options.
printf does not have this problem. Use it everywhere.
2012-05-09 09:44:09 +02:00
Michal Schmidt
f3b1766155
bash-completion: avoid losing backslashes in unit names
...
Use 'read -r' everywhere to consider backslashes as parts of the input line.
Single-quote the arguments to 'compgen -W' to avoid immediate expansion.
compgen itself will expand the argument.
Fixes a possible reason for "Failed to issue method call: Unknown unit"
after requesting completion.
https://bugzilla.redhat.com/show_bug.cgi?id=814966
2012-05-09 09:26:55 +02:00
Lennart Poettering
0f4e02c220
build-sys: create top-level directory for bash completion
2012-04-12 18:26:30 +02:00