https://github.com/eventi/noreallyjustfuckingstopalready
Please OS X (or whatever your name is) just fucking reset your DNS cache please
https://github.com/eventi/noreallyjustfuckingstopalready
Last synced: 4 months ago
JSON representation
Please OS X (or whatever your name is) just fucking reset your DNS cache please
- Host: GitHub
- URL: https://github.com/eventi/noreallyjustfuckingstopalready
- Owner: eventi
- Created: 2016-06-14T14:25:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-06-28T20:02:57.000Z (over 3 years ago)
- Last Synced: 2024-08-14T10:16:06.120Z (over 1 year ago)
- Language: Shell
- Size: 9.77 KB
- Stars: 299
- Watchers: 9
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-zsh-plugins - noreallyjustfuckingstopalready - macOS users know the pain of trying to figure out what command actually flushes the DNS cache on their version of macOS, and this plugin makes that annoyance go away. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - noreallyjustfuckingstopalready - macOS users know the pain of trying to figure out what command actually flushes the DNS cache on their version of macOS, and this plugin makes that annoyance go away. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - noreallyjustfuckingstopalready - macOS users know the pain of trying to figure out what command actually flushes the DNS cache on their version of macOS, and this plugin makes that annoyance go away. (Plugins / Zinit (née zplugin))
README
Please OS X (or whatever your name is) just fucking reset your DNS cache please
Installation:
=====
From source:
-----
git clone https://github.com/eventi/noreallyjustfuckingstopalready.git
cd noreallyjustfuckingstopalready
install -b flu.sh ${PREFIX:-/usr/local}/bin/flu.sh
sudo flu.sh
With https://github.com/bpkg/bpkg do:
`bpkg install -g eventi/noreallyjustfuckingstopalready`
Antigen
-----
Add `antigen bundle eventi/noreallyjustfuckingstopalready` to your `.zshrc` with your other bundle commands.
Antigen will handle cloning the plugin for you automatically the next time you start zsh. You can also add the plugin to a running zsh with `antigen bundle eventi/noreallyjustfuckingstopalready` for testing before adding it to your `.zshrc`.
Oh-My-Zsh
-----
cd ~/.oh-my-zsh/custom/plugins
git clone git@github.com:eventi/noreallyjustfuckingstopalready.git
Then add the repo to your plugin list
Zgen
-----
Add `zgen load eventi/noreallyjustfuckingstopalready` to your .zshrc file in the same function you're doing your other `zgen load` calls in. zgen will take care of cloning the repository and adding it to your `$PATH`.
F.A.Q
=====
**Q) What? Why?**
A) "What if ping was different on every build of linux. Shit gets old."
(HT post_break https://news.ycombinator.com/item?id=11902850)
**Q) "... The `dscacheutil -flushcache` command he lists for Snow Leopard still works for me (OS X Yosemite here)."**
A) The command didn't fail, but it didn't clear the cache either: (HT masklinn https://news.ycombinator.com/item?id=11902754)
Contributors:
* https://github.com/justindowning
* https://github.com/jwerle
* https://github.com/unixorn
* https://github.com/kenahoo