Skip to content

Commit b3c610f

Browse files
QianChenglongkrobelus
authored andcommitted
add completion for mycli
Closes fish-shell#10309
1 parent 90b9bce commit b3c610f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

share/completions/mycli.fish

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# fish completion for mycli -*- shell-script -*-
2+
3+
function __fish_mycli_dsn
4+
mycli --list-dsn
5+
end
6+
7+
complete -c mycli -s d -l dsn -x -d 'Use DSN configured into the [alias_dsn]' -a '(__fish_mycli_dsn)'
8+
complete -c mycli -a '(__fish_mycli_dsn)'

0 commit comments

Comments
 (0)