Jan Macku
f8457290c4
fix(SC2148): add ShellCheck directive to bash completion scripts
2024-02-27 15:41:28 +01:00
Michael Biebl
85fce6f42c
Use https for gnu.org
2022-06-28 16:07:35 +02:00
Luca Boccassi
36ec026830
completion: fix 'unbound variables' errors
...
Fixes https://github.com/systemd/systemd/issues/19987
2021-06-22 14:56:47 +01:00
Yu Watanabe
db9ecf0501
license: LGPL-2.1+ -> LGPL-2.1-or-later
2020-11-09 13:23:58 +09:00
Zbigniew Jędrzejewski-Szmek
843cfcb15c
shell-completion: use 4 space indentation too
...
The same as in other places, indentation levels were all over the place.
2019-04-12 08:34:44 +02:00
Lennart Poettering
96b2fb93c5
tree-wide: beautify remaining copyright statements
...
Let's unify an beautify our remaining copyright statements, with a
unicode ©. This means our copyright statements are now always formatted
the same way. Yay.
2018-06-14 10:20:21 +02:00
Yu Watanabe
f822279e62
bash-completion: localectl: add a missing option and verbs
2018-01-10 23:16:36 +09:00
Zbigniew Jędrzejewski-Szmek
7059062c2f
Add SPDX license headers to shell completion scripts
2017-11-19 19:08:15 +01:00
Carlos Morata Castillo
b4f91f2ba3
Updates in bash autocompletions
...
Hi,
I did ./check-undocumented.sh -b (my script just submitted) and checked
the results.
Cheers.
2015-01-29 00:44:30 -05:00
Zbigniew Jędrzejewski-Szmek
627a98d398
shell-completion: fix completion of localectl set-locale
...
https://bugs.freedesktop.org/show_bug.cgi?id=74157
2014-02-06 12:01:39 -05:00
Zbigniew Jędrzejewski-Szmek
3ce09b7da2
bash-completion: fix completion of complete verbs
...
When doing 'command verb<TAB>', the arguments for verb would be
proposed, but it is too early. We should complete verb first.
https://bugs.freedesktop.org/show_bug.cgi?id=74596
2014-02-06 00:45:00 -05:00
Dave Reisner
a72d698d0d
bash-completion: use a better definition of __contains_word
...
- 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-30 13:04:46 -04:00
Michael Biebl
d611dadcc7
bash-completion: split completions and move to new location
...
Split the large bash completion script into separate, smaller files each
named after the binary it is used for and move the files to
/usr/share/bash-completion/completions. This way the completions can be
loaded on demand and we only install the completions for the tools we
actually build. The old path /etc/bash_completion.d/ is deprecated and
will disappear in the future.
2013-03-03 14:39:51 +01:00