From: Zbigniew Jędrzejewski-Szmek Date: Mon, 28 Sep 2015 19:42:27 +0000 (-0400) Subject: bash-completion: use builtins when generating list X-Git-Tag: v227~49^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=db79008804f7bd0e5ef48c454ed6aa58a3dfa268;p=thirdparty%2Fsystemd.git bash-completion: use builtins when generating list --- diff --git a/shell-completion/bash/systemd-path b/shell-completion/bash/systemd-path index cdaf29794e3..2f0c5f5bd74 100644 --- a/shell-completion/bash/systemd-path +++ b/shell-completion/bash/systemd-path @@ -24,7 +24,7 @@ __contains_word () { } __get_names() { - systemd-path | cut -d: -f1 | sort -u + systemd-path | { while IFS=: read -r a b; do echo " $a"; done; } } _systemd_path() {