zudsniper / zudsniper/bashbits
[zshrc] autoupdate checks causing QoL annoyance when without internet
Open
@zudsniper is already working on this.
Since Nov 15, 2023.
bug
intermittent
minor
TODO
- Dominant language
- Shell
- Stars
- 4
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Overview
When executing device is not connected to a network, an undesirable series of events happens after curl is unable to resolve host gh.zod.tf, resulting in a sudo prompt for password that must be ctrl + C terminated to return to a normal shell.
Solution
To fix this, the autoupdate checks must be wrapped in checks for network connectivity, and if none is found, they should be skipped.
Example Output
If someone else wants to fix this, go for it!
I'm gonna have to fix this most definitely
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.