cli icon indicating copy to clipboard operation
cli copied to clipboard

Tab autocomplete of application name no longer working

Open Mahoney opened this issue 2 years ago • 8 comments

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.

Mahoney avatar Mar 22 '23 16:03 Mahoney

Thank you so much for letting us know! We'll take a look.

GUS item

k80bowman avatar Mar 22 '23 18:03 k80bowman

On further review it seems to work for

heroku pg:backups:download -a ...

but NOT for

heroku run bash -a ...

cody-elhard avatar May 03 '23 13:05 cody-elhard

Agreed - also does not work with heroku config -a <prefix>, though a simple heroku config -a does offer up all the apps.

Mahoney avatar May 03 '23 14:05 Mahoney

Fixed for me.

heroku -v
#=> heroku/8.1.7 darwin-x64 node-v16.19.0

cody-elhard avatar Jun 07 '23 14:06 cody-elhard

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

Mahoney avatar Jun 07 '23 14:06 Mahoney

The same for me:

heroku/8.1.9 darwin-x64 node-v16.19.0

petrsigut avatar Jul 15 '23 07:07 petrsigut

This is solved in 8.2.0

stof avatar Aug 18 '23 15:08 stof

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.

Mahoney avatar Aug 31 '23 16:08 Mahoney