常用 alias

#打开、关闭布局
alias mborder='adb shell setprop debug.layout true'
alias mborderoff='adb shell setprop debug.layout false'

#无线调试
alias adblink="adb tcpip 5555 && adb connect 192.168.1.125:5555"

#git 相关
alias nah='git reset --hard;git clean -df'
alias gcm="git commit -m "
alias gaa="git add ."
alias gp='git push origin $(git symbolic-ref --short -q HEAD) '
alias gl='git pull origin $(git symbolic-ref --short -q HEAD) '
alias gll="git pull "
alias gm="git checkout master "
alias gco="git checkout "
alias gmm="git merge master "
alias grs="git checkout head . "
alias gs="git status "

#JAVA_HOME
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_201.jdk/Contents/Home
export PATH=$JAVA_HOME/bin:$PATH

#composer path
export PATH=$PATH:/Users/yanglijing/.composer/vendor/bin

#npm
export PATH=~/.npm-global/bin:$PATH

#mongodb
export PATH=/usr/local/Cellar/[email protected]/4.0.13/bin:$PATH

#php
export PATH=/Applications/MAMP/bin/php/php7.3.7/bin:$PATH

#python
export PATH=/Users/yanglijing/Library/Python/3.7/bin:$PATH

# proxy list
alias proxy='export all_proxy=socks5://127.0.0.1:1080'
alias unproxy='unset all_proxy'

你可能感兴趣的:(Mac)