ahoy
ahoy copied to clipboard
Redirect completion to sub-process
It would be awesome if bash-completion could be redirected down into the subprocess.
Example command:
commands:
complete:
cmd: git
When I type ahoy complete <TAB>
, I get nothing (process hangs because the current setup is actually calling the 'git' command instead of forwarding the
Related issue about
It looks like we might be able to simulate keypresses using echo -e "\t" | git
See : http://stackoverflow.com/questions/6264596/simulating-enter-keypress-in-bash-script