commit 1512acd0a7f5ad72482ae67c7bf63532a02dc72c
parent 4e6b3880f044c1c63467a882761509af64b6ea0f
Author: gearsix <gearsix@tuta.io>
Date: Thu, 1 Oct 2020 12:03:00 +0100
bashrc - added jq parse to myip
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bashrc b/src/bashrc
@@ -29,7 +29,7 @@
# 1 ALIASES #
#-----------#
#1.A MISC
- alias myip='curl https://ipinfo.io/ip'
+ alias myip='curl https://ipinfo.io/ip | jq ".ip"'
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
alias mapscii='telnet mapscii.me'
alias parrot.live='curl parrot.live'