fix(shell-completion): discard error messages
This commit is contained in:
@@ -26,7 +26,7 @@ __contains_word () {
|
||||
}
|
||||
|
||||
__get_names() {
|
||||
systemd-path | { while IFS=: read -r a b; do echo " $a"; done; }
|
||||
systemd-path 2>/dev/null | { while IFS=: read -r a b; do echo " $a"; done; }
|
||||
}
|
||||
|
||||
_systemd_path() {
|
||||
|
||||
Reference in New Issue
Block a user