Skip to content

Commit

Permalink
Apple's DNS resolver is annoying when you want to reset the cache
Browse files Browse the repository at this point in the history
Apple has _different_ non-standard ways to reset the DNS cache depending
on what major OS release you're on.

Add `eventi/noreallyjustfuckingstopalready` to the standard plugin list
to cope.

Signed-off-by: Joe Block <jpb@unixorn.net>
  • Loading branch information
unixorn committed Mar 4, 2023
1 parent fdc5f3c commit 2ca27be
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .zsh-quickstart-local-plugins-example
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ zgenom load unixorn/warhol.plugin.zsh
# across macOS and Linux/BSD.
zgenom load unixorn/tumult.plugin.zsh

# Deal with Apple's squirrelly DNS
zgenom load eventi/noreallyjustfuckingstopalready

# Warn you when you run a command that you've set an alias for without
# using the alias.
zgenom load djui/alias-tips
Expand Down
1 change: 1 addition & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ The zsh-quickstart-kit configures your ZSH environment so that it includes:

* [chrissicool/zsh-256color](https://github.com/chrissicool/zsh-256color) - Sets your terminal to 256 colors if available.
* [djui/alias-tips](https://github.com/djui/alias-tips) - Warns you when you have an alias for the command you just typed and tells you what it is.
* [eventi/noreallyjustfuckingstopalready](https://github.com/eventi/noreallyjustfuckingstopalready)- Deals with Apple's squirrelly DNS resolver. Only loads when you're running on macOS.
* [peterhurford/git-it-on.zsh](https://github.com/peterhurford/git-it-on.zsh) - Opens your current repository on GitHub, in your current branch.
* [robSis/zsh-completion-generator](https://github.com/RobSis/zsh-completion-generator) - Adds a tool to generate ZSH completion functions for programs missing them by parsing their `--help` output. Note that this doesn't happen dynamically; you'll have to explicitly run it to create a completion for each command missing one.
* [sharat87/pip-app](https://github.com/sharat87/pip-app) - A set of shell functions to make it easy to install small apps and utilities distributed with `pip`.
Expand Down
3 changes: 3 additions & 0 deletions zsh/.zgen-setup
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ load-starter-plugin-list() {
# across macOS and Linux/BSD.
zgenom load unixorn/tumult.plugin.zsh

# Deal with Apple's squirrelly DNS
zgenom load eventi/noreallyjustfuckingstopalready

# Warn you when you run a command that you've set an alias for without
# using the alias.
zgenom load djui/alias-tips
Expand Down

0 comments on commit 2ca27be

Please sign in to comment.