1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 10:51:20 +03:00
Commit Graph

6 Commits

Author SHA1 Message Date
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