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