4c1e7a7eb9
- Core config layered on CachyOS base with Catppuccin Mocha theming - Fisher plugins: fzf.fish, catppuccin, autopair, replay, puffer-fish, magic-enter, spark - Smart CLI wrappers with fallbacks (bat, lsd, btop, dust, prettyping) - Custom functions: git, docker, network, kitty, AI session management - Extensive abbreviation system for keyboard-driven workflows - Secrets/local sourcing pattern for private and machine-specific config - README with full documentation and personalization guide - AGPLv3+ license with copyright headers on all source files
15 lines
418 B
Fish
15 lines
418 B
Fish
# Copyright (C) 2026 Rootiest
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
function gip6 -d "Get public IPv6 address"
|
|
# Use -6 to force IPv6 and --fail to catch network errors
|
|
set -l ip (curl -6 -s --fail https://icanhazip.com 2>/dev/null)
|
|
|
|
if test $status -eq 0
|
|
echo $ip
|
|
else
|
|
echo "❌ IPv6 is currently unavailable or not supported on this network."
|
|
return 1
|
|
end
|
|
end
|