RocHack / bb

Command line Blackboard client
MIT License
72 stars 8 forks source link

Bash Completion #18

Closed joeljk13 closed 9 years ago

joeljk13 commented 9 years ago

It's not great, but it works. Eventually it'd be nice to have this script read from previous bb outputs so that it can autocomplete things like your courses.

This script is designed to be copied to /etc/bash_completion.d/ (at least on Linux).

The only bug I know of is that it will keep suggesting arguments even after they've already been given, but there's a good chance there's other bugs, so feel free to test/comment before merging.

clehner commented 9 years ago

Awesome! It works great with my non-exhaustive testing.