summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 1860b95..2ac0282 100644
--- a/bashrc
+++ b/bashrc
@@ -85,7 +85,7 @@ alias fuck='eval $(thefuck $(fc -ln -1)); history -r'
# FUNCTIONS
function lip () { # local ips
- ip -c addr | sed -n '/^[1-9]:/p;/inet /p'
+ ip -4 -c addr | sed -n '/^[1-9]:/p;/inet/p'
}
function xip () { # external ip