mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
10 lines
312 B
Fish
10 lines
312 B
Fish
function __fish_complete_cabal
|
|
if type -f cabal >/dev/null
|
|
set cmd (commandline -poc)
|
|
if test (count $cmd) -gt 1
|
|
cabal $cmd[2..-1] --list-options
|
|
else
|
|
cabal --list-options
|
|
end
|
|
end
|
|
end
|