blob: 589fdf57958cbc9938506d23359c307b259da274 (
plain)
1
2
3
4
5
6
7
|
#!/usr/bin/env bash
hadrian=$(cd hadrian; cabal new-exec which hadrian; cd ..)
all_settings=$($hadrian autocomplete --complete-setting="$@" --quiet)
complete -W "$all_settings" hadrian/build.sh
complete -W "$all_settings" hadrian/build.cabal.sh
|