Shamelessly copy shell completion scripts from Hub