mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 22:21:15 -03:00
add completion for mycli
Closes #10309
(cherry picked from commit b3c610feff)
This commit is contained in:
committed by
David Adam
parent
c6f3b24dc5
commit
b864074288
8
share/completions/mycli.fish
Normal file
8
share/completions/mycli.fish
Normal file
@@ -0,0 +1,8 @@
|
||||
# fish completion for mycli -*- shell-script -*-
|
||||
|
||||
function __fish_mycli_dsn
|
||||
mycli --list-dsn
|
||||
end
|
||||
|
||||
complete -c mycli -s d -l dsn -x -d 'Use DSN configured into the [alias_dsn]' -a '(__fish_mycli_dsn)'
|
||||
complete -c mycli -a '(__fish_mycli_dsn)'
|
||||
Reference in New Issue
Block a user