fix(shell-completion): discard error messages

This commit is contained in:
Eisuke Kawashima
2025-07-14 20:24:26 +09:00
parent 86fff7fb38
commit c2b0f637c2
18 changed files with 36 additions and 34 deletions
+1 -1
View File
@@ -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() {