diff options
author | Shubham Saini <shubham6405@pm.me> | 2020-07-04 04:42:52 +0000 |
---|---|---|
committer | Shubham Saini <shubham6405@pm.me> | 2020-07-04 04:42:52 +0000 |
commit | bbbdafee9c0688cb9b22dc15ba9e1eef18c1045f (patch) | |
tree | 5d623a7b7bc54834a7edb7992ec3f4c5fe4002ae /bash | |
parent | 93be688cb37fc2496efbd3d2113d4dcbe9fcec75 (diff) |
re tux
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" |