mirror of
https://github.com/hydroxycarbamide/dotfiles.git
synced 2025-05-07 13:29:08 -04:00
Add nnn
This commit is contained in:
parent
0ef5de12ac
commit
c0889285ff
58 changed files with 5175 additions and 0 deletions
13
dot_config/nnn/plugins/executable_ipinfo
Normal file
13
dot_config/nnn/plugins/executable_ipinfo
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
# Description: Shows the external IP address and whois information. Useful over VPNs.
|
||||
#
|
||||
# Shell: POSIX compliant
|
||||
# Author: Arun Prakash Jana
|
||||
|
||||
IP=$(curl -s ifconfig.me)
|
||||
|
||||
whois "$IP"
|
||||
echo your external IP address is "$IP"
|
||||
|
||||
read -r _
|
Loading…
Add table
Add a link
Reference in a new issue