Last active
February 2, 2018 07:50
-
-
Save wowiwj/5d71bd31948a1acf531ffc52d685d5c3 to your computer and use it in GitHub Desktop.
个人zsh配置
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
function homestead() { | |
( cd ~/Homestead && vagrant $* ) | |
} | |
function ymbdev(){ | |
( cd ~/Desktop/ymbdev && vagrant $* ) | |
} | |
alias ..="cd .." | |
alias ...="cd ../.." | |
alias h='cd ~' | |
alias c='clear' | |
alias art=artisan | |
alias phpspec='vendor/bin/phpspec' | |
alias phpunit='vendor/bin/phpunit' | |
alias xoff='sudo phpdismod -s cli xdebug' | |
alias xon='sudo phpenmod -s cli xdebug' | |
function artisan() { | |
php artisan "$@" | |
} | |
export PATH=~/anaconda3/bin:$PATH | |
export PATH="$HOME/.composer/vendor/bin:$PATH" | |
alias vps1='ssh root@45.76.100.56' | |
alias vps2='ssh root@119.29.81.135' | |
alias vm1='homestead ssh' | |
alias vm2='ymbdev ssh' | |
alias vx="cd ~/Desktop/Code/WECHATV2" | |
alias ymb="cd ~/Desktop/ymbdev/YMB" | |
alias ymbm="cd ~/Desktop/ymbdev/WAPYMB" | |
alias cpc="cd ~/Desktop/ymbdev/CPC" | |
function py(){ | |
python "$@"; | |
} | |
function task(){ | |
sh ~/task.sh | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment