aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-05-24 23:14:19 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-05-24 23:14:19 +0530
commit658099bee0b19cec276e55507e3c9d448c19d019 (patch)
tree5006ce709bb89968b9728de5ade3fc9a5032601a
parentaa14a98ff9e5171540be07d7374cffe48e9ef1fa (diff)
downloadnnn-658099bee0b19cec276e55507e3c9d448c19d019.tar.gz
ipinfo shows external IP address
-rw-r--r--plugins/README.md2
-rwxr-xr-xplugins/ipinfo4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/README.md b/plugins/README.md
index 5bd213a..bcaedf6 100644
--- a/plugins/README.md
+++ b/plugins/README.md
@@ -7,7 +7,7 @@
| hexview | sh | xxd, `$PAGER` | View a file in hex |
| imgresize | sh | [imgp](https://github.com/jarun/imgp) | Resize images in directory to screen resolution |
| imgur | bash | - | Upload an image to imgur (from [imgur-screenshot](https://github.com/jomo/imgur-screenshot)) |
-| ipinfo | sh | curl, whois | Fetch IP address and whois information |
+| ipinfo | sh | curl, whois | Fetch external IP address and whois information |
| kdeconnect | sh | kdeconnect-cli | Send selected files to an Android device |
| ndiff | sh | vimdiff | Show diff for selection |
| nmount | sh | pmount | Toggle mount status of a device as normal user |
diff --git a/plugins/ipinfo b/plugins/ipinfo
index b743df8..70b8007 100755
--- a/plugins/ipinfo
+++ b/plugins/ipinfo
@@ -1,6 +1,6 @@
#!/usr/bin/env sh
-# Description: Shows the IP address and whois information. Useful over VPNs.
+# Description: Shows the external IP address and whois information. Useful over VPNs.
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
@@ -8,6 +8,6 @@
IP=`curl -s ifconfig.me`
whois "$IP"
-echo your IP address is "$IP"
+echo your external IP address is "$IP"
read dummy