From 8ec8d556d410b2f535b0329f3ccccc85fdcf9402 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Thu, 21 May 2015 16:03:32 +0100 Subject: [PATCH] nb-ips --- etc/bashrc.function | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"' } -- 2.47.3