dotfiles/private_dot_config/private_fish
Anton Volnuhin af05b9e245 ping: check IPv6 is actually usable, and split ping4 per platform
The ping wrapper only asked whether the *target* had an AAAA record, never
whether this machine could reach over IPv6, so `ping ya.ru` ran ping6 and
died with "No route to host" while IPv4 worked fine.

Checking for a default v6 route is not sufficient either: this Mac has one
while holding only ::1 and fe80:: link-locals. So require a global unicast
address (2000::/3) as well as the route, which is the condition that
actually fails here.

ping4 is now platform-split rather than branching internally, since macOS
ping rejects -4:
  macOS  ~/.local/bin/ping (wrapper) and ~/.local/bin/ping4 -> /sbin/ping
  Linux  a fish function running `ping -4`
.chezmoiignore gates each side so neither lands where it cannot work.
2026-08-06 03:38:12 +03:00
..
conf.d kitty: remember the light/dark mode across restarts 2026-08-06 01:49:45 +03:00
functions ping: check IPv6 is actually usable, and split ping4 per platform 2026-08-06 03:38:12 +03:00
private_tests fish, kitty: follow terminal light theme 2026-07-27 20:20:38 +03:00
themes Initial commit 2023-04-30 01:21:51 +03:00
config.fish fish: only read the keychain PAT on systems that have security 2026-08-06 01:23:07 +03:00
fish_plugins switch tide to plttn/tide@v7, as my fix was merged in there 2026-04-05 19:42:28 +03:00