From db79008804f7bd0e5ef48c454ed6aa58a3dfa268 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Mon, 28 Sep 2015 15:42:27 -0400 Subject: bash-completion: use builtins when generating list --- shell-completion/bash/systemd-path | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell-completion') diff --git a/shell-completion/bash/systemd-path b/shell-completion/bash/systemd-path index cdaf29794e..2f0c5f5bd7 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() { -- cgit v1.2.3-54-g00ecf