Last active
April 13, 2016 09:44
-
-
Save Focinfi/6f03ab8025e4d973876b842565f13b3c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# git | |
alias gita='git status' | |
alias gco='git checkout $1' | |
# change dir | |
alias cw='cd ~/work' | |
autoload -U add-zsh-hook | |
load-local-conf() { | |
# check file exists, is regular file and is readable: | |
if [[ -f .envrc && -r .envrc ]]; then | |
source .envrc | |
fi | |
} | |
add-zsh-hook chpwd load-local-conf | |
#db | |
alias pg_start='pg_ctl -D /usr/local/var/postgres/default -l /usr/local/var/postgres/server.log start' | |
# aliyun | |
alias cloudhome='ssh [email protected]' | |
#proxychains4 | |
alias p=proxychains4 | |
alias gogetp="http_proxy=127.0.0.1:1080 go get" | |
#golang | |
alias golist="go list -f '{{join .Deps \"\n\"}}' | xargs go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment