diff options
-rw-r--r-- | .zshrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -6,6 +6,7 @@ plugins=( git python pj + urltools ) source $ZSH/oh-my-zsh.sh @@ -16,6 +17,12 @@ export PROJECT_PATHS=(~/Projects/ ~/Projects/_cloned/ ~/Projects/_archive/) export GOPROXY=https://proxy.golang.com.cn,direct export PATH="$HOME/.local/bin:$PATH" +# utilities +share () { + scp -r $1 www@fkfd.me:www/static/ + echo "https://fkfd.me/static/$(urlencode $(basename $1))" +} + # ibus alias ib="ibus-daemon -d" export GTK_IM_MODULE=ibus |