zudsniper / zudsniper/bashbits

[zshrc] autoupdate checks causing QoL annoyance when without internet

Open
#10 1 comment 0 reactions 1 assignee View on GitHub

@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
image

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.