diff options
Diffstat (limited to 'bash')
-rw-r--r-- | bash/.bashrc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bash/.bashrc b/bash/.bashrc index 4f6c961..3e0bccb 100644 --- a/bash/.bashrc +++ b/bash/.bashrc | |||
@@ -33,7 +33,6 @@ alias f="ranger" | |||
33 | alias weather="curl wttr.in" | 33 | alias weather="curl wttr.in" |
34 | alias py="/usr/bin/python" | 34 | alias py="/usr/bin/python" |
35 | alias pg="ping google.com" | 35 | alias pg="ping google.com" |
36 | alias pubip="curl ipinfo.io/ip" | ||
37 | alias m="cmus" | 36 | alias m="cmus" |
38 | alias vimrc="vim $HOME/.config/nvim/init.vim" | 37 | alias vimrc="vim $HOME/.config/nvim/init.vim" |
39 | alias v="nvim" | 38 | alias v="nvim" |
@@ -48,6 +47,10 @@ dict() { | |||
48 | curl dict://dict.org/d:$* | less | 47 | curl dict://dict.org/d:$* | less |
49 | } | 48 | } |
50 | 49 | ||
50 | sip() { | ||
51 | curl https://ipinfo.io/$* | ||
52 | } | ||
53 | |||
51 | # prompt | 54 | # prompt |
52 | red="\e[31m" | 55 | red="\e[31m" |
53 | green="\e[32m" | 56 | green="\e[32m" |