From: Nicolas Boisselier Date: Thu, 21 May 2015 15:03:32 +0000 (+0100) Subject: nb-ips X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=8ec8d556d410b2f535b0329f3ccccc85fdcf9402;p=nb.git nb-ips --- diff --git a/etc/bashrc.function b/etc/bashrc.function index 22748421..9bc6d541 100644 --- a/etc/bashrc.function +++ b/etc/bashrc.function @@ -283,5 +283,5 @@ nb-alert() { } nb-ips() { - ifconfig | perl -ne '/^\s*inet (?:addr:)?([\d\.]+)/ and print "$1\n"' + ifconfig | perl -ne '/^\s*inet (?:addr:)?([\d\.]+)/ and $1 ne "127.0.0.1" and print "$1\n"' }