summaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@pm.me>2020-07-04 04:42:52 +0000
committerShubham Saini <shubham6405@pm.me>2020-07-04 04:42:52 +0000
commitbbbdafee9c0688cb9b22dc15ba9e1eef18c1045f (patch)
tree5d623a7b7bc54834a7edb7992ec3f4c5fe4002ae /bash
parent93be688cb37fc2496efbd3d2113d4dcbe9fcec75 (diff)
re tux
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"