summaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/.bashrc5
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"
33alias weather="curl wttr.in" 33alias weather="curl wttr.in"
34alias py="/usr/bin/python" 34alias py="/usr/bin/python"
35alias pg="ping google.com" 35alias pg="ping google.com"
36alias pubip="curl ipinfo.io/ip"
37alias m="cmus" 36alias m="cmus"
38alias vimrc="vim $HOME/.config/nvim/init.vim" 37alias vimrc="vim $HOME/.config/nvim/init.vim"
39alias v="nvim" 38alias 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
50sip() {
51 curl https://ipinfo.io/$*
52}
53
51# prompt 54# prompt
52red="\e[31m" 55red="\e[31m"
53green="\e[32m" 56green="\e[32m"