1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-26 17:27:41 +03:00
systemd/shell-completion
Zbigniew Jędrzejewski-Szmek 79c1638303 shell-completion: replace printf with echo
It is faster to use a bash built-in, then to invoke an external
program. The problem of unit names starting with a dash is solved
by prepending a space. Spaces are ignored anyway.

For zsh, replace echo "$unit", which is vulnerable to dashes,
with echo " $unit".
2013-04-10 19:47:16 -04:00
..
bash shell-completion: replace printf with echo 2013-04-10 19:47:16 -04:00
systemd-zsh-completion.zsh shell-completion: replace printf with echo 2013-04-10 19:47:16 -04:00