mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 06:46:12 +08:00
11 lines
304 B
Fish
11 lines
304 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
|