From 47a4eeff99788ef38ae75f0f4ea4b762d5eabcd1 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Mon, 26 Sep 2022 20:43:31 +0200 Subject: [PATCH] completions/kcmshell5: Silence stderr This can print errors about .desktop files not being 100% correct. Like those shipped by KDE, with krunner. --- share/completions/kcmshell5.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/kcmshell5.fish b/share/completions/kcmshell5.fish index 78f6a7d8d..c7b7796cb 100644 --- a/share/completions/kcmshell5.fish +++ b/share/completions/kcmshell5.fish @@ -8,4 +8,4 @@ complete -c kcmshell5 -f -l icon -d "Icon for the module" complete -c kcmshell5 -f -l caption -d "Title for the window" complete -c kcmshell5 -f -l version -s v -d "Show version information and exit" complete -c kcmshell5 -f -l help -s h -d "Show help information and exit" -complete -c kcmshell5 -f -a "(kcmshell5 --list | tail -n +2 | string replace -r -- ' +-' \t)" +complete -c kcmshell5 -f -a "(kcmshell5 --list 2>/dev/null | tail -n +2 | string replace -r -- ' +-' \t)"