How to make Bash completion work with non-standard command name, e.g. "tg" instead of "terragrunt"? #5103
heidemn-faro
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
No matter if
tgis a symlink or a regular file, this doesn't work:complete -C $HOME/.local/bin/tg tgFor some reason, it successfully completes options:
$ tg -<TAB>...but doesn't complete commands:
$ tg <TAB>The same is working fine with
terraform& mytfsymlink.Here it completes both commands and options.
My .bashrc:
Versions:
Does someone have an idea how to solve this?
Thanks :-)
Beta Was this translation helpful? Give feedback.
All reactions