mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
kdeconnect-cli completions: ignore stderror (#7074)
* kdeconnect-cli completions: ignore error messages * squash this please
This commit is contained in:
parent
f25f15fd69
commit
4dff15b74e
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
function __complete_devices
|
||||
kdeconnect-cli --shell-device-autocompletion=zsh | string replace -rf -- '(\w+)\[(.*)]' '$1\t$2'
|
||||
kdeconnect-cli --shell-device-autocompletion=zsh 2>/dev/null | string replace -rf -- '(\w+)\[(.*)]' '$1\t$2'
|
||||
or kdeconnect-cli --list-devices 2>/dev/null | string replace -rf -- '- (.*): (\w+) .*' '$2\t$1'
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue