Tab autocomplete of application name no longer working
Heroku Version 8.0.2-25b54fa
macOs 13.2.1 (Ventura) M1
Installed via Homebrew, updated via heroku update.
I have run heroku autocomplete since updating.
What is the current behavior?
When an app called example-app exists, and is the only app the user has that starts with exa, typing heroku config -a exa and pressing tab does nothing (get an error bell)
What is the expected behavior?
When an app called example-app exists, and is the only app the user has that starts with exa, typing heroku config -a exa and pressing tab should complete the command to heroku config -a example-app
Typing heroku config -a and pressing tab does list all the apps.
On further review it seems to work for
heroku pg:backups:download -a ...
but NOT for
heroku run bash -a ...
Agreed - also does not work with heroku config -a <prefix>, though a simple heroku config -a does offer up all the apps.
Fixed for me.
heroku -v
#=> heroku/8.1.7 darwin-x64 node-v16.19.0
Not for me:
heroku config -a + tab gives completions live-app-1, live-app-2, live-app-3.
heroku config -a live- + tab gives no completions.
~$ heroku -v
heroku/8.1.7 darwin-x64 node-v16.19.0
The same for me:
heroku/8.1.9 darwin-x64 node-v16.19.0
This is solved in 8.2.0
Not solved in heroku/8.4.1 darwin-arm64 node-v16.19.0
Ran heroku autocomplete --refresh-cache
I have multiple apps prefixed with live-
If I type heroku config -a live- and hit tab I get nothing.