mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-14 09:53:42 +08:00
ce245704d7
These were excluded from style.fish
13 lines
288 B
Fish
13 lines
288 B
Fish
function __fish_complete_cabal
|
|
if type -q -f cabal
|
|
set cmd (commandline -poc)
|
|
if test (count $cmd) -gt 1
|
|
cabal $cmd[2..-1] --list-options
|
|
else
|
|
cabal --list-options
|
|
end
|
|
end
|
|
end
|
|
|
|
complete -c cabal -a '(__fish_complete_cabal)'
|