tab autocomplete not working for gsutil component

597 views
Skip to first unread message

Sachin Chachada

unread,
Jan 25, 2017, 12:53:15 PM1/25/17
to Google Cloud Developers
Google Cloud SDK [141.0.0]
Tab autocomplete used to work. After an issue, I reinstalled SDK but since then the tab autocompletion of buckets using gsutil stopped working. Any help would be appreciated

Alex (Cloud Platform Support)

unread,
Jan 26, 2017, 3:48:40 PM1/26/17
to Google Cloud Developers

Hi Sachin,


I have tested the tab auto-complete feature in a Cloud SDK version as far as v131.0.0 and was unable to use it as described. Would it be possible for you to indicate a SDK version in which it can be to reproduce?


Also, I have noticed that a tab auto-complete feature is possible in the latest versions of the SDK as long as the autocompleted bucket was previously used in an another Shell command. Would it be possible that you are referencing to this feature? In that case, you should be able to re-enable the auto-complete feature by running a command with one of your buckets and then run the same command with the same bucket but using the key tab to complete the bucket's name.


If it is not the feature you were referencing to, I would need you to reply with a detailed example of how you remember the feature worked and a sample command that can be used to test it in an older Cloud SDK versions.

John Corry

unread,
Oct 22, 2020, 6:56:00 PM10/22/20
to Google Cloud Developers
I am having the same issue.

`gsutil ls gs://` + `tab` shows an ellipsis after the `gs://` for a few moments as if it is looking...but then never resolves the buckets in cloud storage to offer a suggestion for autocomplete. It's the same result if I put a partial bucket name in after the `gs://`

```
➜  ~ gcloud version
Google Cloud SDK 315.0.0
bq 2.0.62
core 2020.10.16
gsutil 4.53
```

Manpreet Sidhu (Google Cloud Support)

unread,
Oct 26, 2020, 8:40:06 PM10/26/20
to Google Cloud Developers
Thank you for reporting this. This is indeed a reproducible issue and it has been raised with the product team. I suggest that you +1 yourself on the Public Issue Tracker as all future communication will take place there. You can also post your feedback there for the product team.

Reply all
Reply to author
Forward
0 new messages