Add tmux-ip helper script with public/internal IP fallback
This commit is contained in:
2
.local/bin/tmux-ip
Executable file
2
.local/bin/tmux-ip
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
curl -s --connect-timeout 3 https://api.ipify.org 2>/dev/null || hostname -I | awk '{print $1}'
|
||||
Reference in New Issue
Block a user