diff options
-rwxr-xr-x | zsh/.zshrc | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -24,7 +24,6 @@ alias f="ranger" | |||
24 | alias weather="curl wttr.in" | 24 | alias weather="curl wttr.in" |
25 | alias py="/usr/bin/python" | 25 | alias py="/usr/bin/python" |
26 | alias pg="ping google.com" | 26 | alias pg="ping google.com" |
27 | alias pubip="curl ipinfo.io/ip" | ||
28 | alias k="pkill " | 27 | alias k="pkill " |
29 | alias m="cmus" | 28 | alias m="cmus" |
30 | alias vimrc="vim $HOME/.config/nvim/init.vim" | 29 | alias vimrc="vim $HOME/.config/nvim/init.vim" |
@@ -39,7 +38,7 @@ up() { | |||
39 | } | 38 | } |
40 | 39 | ||
41 | dict() { | 40 | dict() { |
42 | curl dict://dict.org/d:$* | 41 | curl dict://dict.org/d:$* | less |
43 | } | 42 | } |
44 | 43 | ||
45 | sip() { | 44 | sip() { |
@@ -60,6 +59,10 @@ deploy() { | |||
60 | rsync --rsync-path "sudo -u www-data rsync" -avP --delete ~/src/site/dst/ rem:site/ | 59 | rsync --rsync-path "sudo -u www-data rsync" -avP --delete ~/src/site/dst/ rem:site/ |
61 | } | 60 | } |
62 | 61 | ||
62 | bind() { | ||
63 | ssh -L localhost\:$1\:localhost\:$1 $2 | ||
64 | } | ||
65 | |||
63 | # Enable colors and change prompt: | 66 | # Enable colors and change prompt: |
64 | autoload -U colors && colors | 67 | autoload -U colors && colors |
65 | fpath+=$HOME/.cache/zsh/pure | 68 | fpath+=$HOME/.cache/zsh/pure |