2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-01-30 22:03:29 +00:00
fish-shell/share/functions/__fish_complete_cabal.fish

11 lines
304 B
Fish
Raw Normal View History

2013-05-04 14:48:24 +00:00
function __fish_complete_cabal
if type -q -f cabal
2013-05-04 14:48:24 +00:00
set cmd (commandline -poc)
if test (count $cmd) -gt 1
cabal $cmd[2..-1] --list-options
else
cabal --list-options
end
end
end