completions/kcmshell5: Silence stderr

This can print errors about .desktop files not being 100% correct.

Like those shipped by KDE, with krunner.
This commit is contained in:
Fabian Boehm 2022-09-26 20:43:31 +02:00
parent 68fffdad0a
commit 47a4eeff99

View File

@ -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)"