Mac环境变量

@bingoogolapple 2014-09-29 01:30:09发表于 bingoogolapple/bingoogolapple.github.io 开发环境

自定义别名

################################## 自定义别名 START ##################################
alias showhiddenfile="defaults write com.apple.finder AppleShowAllFiles -bool true"
alias notshowhiddenfile="defaults write com.apple.finder AppleShowAllFiles -bool false"

alias ss_enabled='export all_proxy=socks5://127.0.0.1:1080'
alias ss_disabled='unset all_proxy'

alias rnandroid="react-native run-android"
alias rnstart="react-native start"
alias rnadb="adb reverse tcp:8081 tcp:8081"

alias stopAllContainer='docker stop $(docker ps -aq)'
alias rmAllContainer='docker rm -v $(docker ps -aq)'
alias rmAllVolume='docker volume rm $(docker volume ls -q)'
alias stopAndRmAllContainer='stopAllContainer && rmAllContainer'

alias touyingyi='adb connect 192.168.199.103'

alias debugWebview='spy-debugger -w true'
alias genjson="flutter packages pub run build_runner build"

# 服务器别名
alias sshserver="ssh -p 端口号 用户名@IP地址"
################################## 自定义别名 END ##################################