Skip to content

[zshrc] autoupdate checks causing QoL annoyance when without internet #10

@zudsniper

Description

@zudsniper

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

image

If someone else wants to fix this, go for it!

I'm gonna have to fix this most definitely

Metadata

Metadata

Assignees

Labels

TODOjust... do thisbugSomething isn't workingintermittentthis only sometimes happens!minorthis isn't too big of a deal

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions