-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
priority: lowNice-to-have; can waitNice-to-have; can waittriage queueIssue is in our internal backlog. It's either a bug or a feature enhancement.Issue is in our internal backlog. It's either a bug or a feature enhancement.type: community enhancementfeature request not on Twilio's roadmapfeature request not on Twilio's roadmap
Description
Autocompletion script is triggering update checks
I have the autocomplete setup in my .zshrc as instructed by the CLI when running twilio autocomplete zsh:
eval $(twilio autocomplete:script zsh)
However each time I start my shell, I get this reminder that there is an update available:
› Warning: twilio-cli update available from 5.3.2 to 5.3.3. For more information: https://twil.io/cli
It should probably be disabled in this case as this update check:
- Makes a network call and slows shell initialization down when ZSH is evaluating
.zshrc. - Is not very useful when the CLI is installed through a package manager that is taking care of keeping the CLI updated.
So either disabling the check in this particular context or having a configuration parameter to disable update checks globally (and as a bonus, set it to not execute checks when the CLI is installed through a package manager) would solve this.
Steps to Reproduce
- Follow autocomplete setup instructions.
- Open a shell when an update is ready.
- Wait...and see the reminder
Technical details:
- twilio-cli version: twilio-cli/5.3.2 darwin-x64
- node version: node-v19.0.0
- Command output with debug logging enabled (adding
-l debugto the end of the command): N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority: lowNice-to-have; can waitNice-to-have; can waittriage queueIssue is in our internal backlog. It's either a bug or a feature enhancement.Issue is in our internal backlog. It's either a bug or a feature enhancement.type: community enhancementfeature request not on Twilio's roadmapfeature request not on Twilio's roadmap