mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 01:36:39 +08:00
Add completions for synclient
[ci skip]
This commit is contained in:
parent
05abd0ed68
commit
46587b47c4
6
share/completions/synclient.fish
Normal file
6
share/completions/synclient.fish
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
set __fish_synclient_keys (synclient | string replace -r '\s*(\w+).*' '$1')
|
||||||
|
|
||||||
|
complete -c synclient -s l -d "List current user settings"
|
||||||
|
complete -c synclient -s '?' -d "Show help"
|
||||||
|
complete -c synclient -s V -d "Show version"
|
||||||
|
complete -c synclient -xa "$__fish_synclient_keys"
|
Loading…
Reference in New Issue
Block a user