summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorShubham Saini <pryr@pryr.xyz>2021-04-23 09:29:04 +0000
committerShubham Saini <pryr@pryr.xyz>2021-04-23 09:29:04 +0000
commitf7ebcf11da4102d904427d7738aa5190b825d934 (patch)
tree9eb9b4daedcd987375fac3e6dddc0d556dbe22df /zsh
parentbbf0233b103e7d7ca48736fd2cdd7ce0f6a3a076 (diff)
bind port function
Diffstat (limited to 'zsh')
-rwxr-xr-xzsh/.zshrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 0013e1b..f9df05f 100755
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -24,7 +24,6 @@ alias f="ranger"
24alias weather="curl wttr.in" 24alias weather="curl wttr.in"
25alias py="/usr/bin/python" 25alias py="/usr/bin/python"
26alias pg="ping google.com" 26alias pg="ping google.com"
27alias pubip="curl ipinfo.io/ip"
28alias k="pkill " 27alias k="pkill "
29alias m="cmus" 28alias m="cmus"
30alias vimrc="vim $HOME/.config/nvim/init.vim" 29alias vimrc="vim $HOME/.config/nvim/init.vim"
@@ -39,7 +38,7 @@ up() {
39} 38}
40 39
41dict() { 40dict() {
42 curl dict://dict.org/d:$* 41 curl dict://dict.org/d:$* | less
43} 42}
44 43
45sip() { 44sip() {
@@ -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
62bind() {
63 ssh -L localhost\:$1\:localhost\:$1 $2
64}
65
63# Enable colors and change prompt: 66# Enable colors and change prompt:
64autoload -U colors && colors 67autoload -U colors && colors
65fpath+=$HOME/.cache/zsh/pure 68fpath+=$HOME/.cache/zsh/pure