sh 哦,我的zsh

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 哦,我的zsh相关的知识,希望对你有一定的参考价值。

################# Git aliases #####################
alias gchm='git commit --amend -m'
alias gcd='git checkout dev'
alias gcdp='git checkout develop'
alias gcst='git checkout stage'
alias gfrp='git fetch origin && git rebase -p && git push'
alias ggfrp='git fetch origin $(current_branch) && git rebase -p origin $(current_branch) && git push origin $(current_branch)'
alias glga='git lg --all'

################# docker-compose aliases #####################
alias dc='docker-compose'
alias dci='docker-compose images'
alias dcps='docker-compose ps'
alias dcd='docker-compose exec -T php drush'
alias dcrb='docker-compose exec -T php vendor/bin/robo'
alias dcc='docker-compose exec -T php composer'
alias dccu='docker-compose exec -T php composer update'
alias dccr='docker-compose exec -T php composer require'
alias dccrm='docker-compose exec -T php composer remove'
alias dcci='docker-compose exec -T php composer install'
alias dcb='docker-compose exec php bash'
alias dcr='docker-compose restart'
alias dcs='docker-compose stop'
alias dcu='docker-compose up -d'
alias dcdw='docker-compose down'
alias dcdwir='docker-compose down --rmi all'

################# Composer #####################
alias c='composer'
alias cu='composer update'
alias cr='composer require'
alias crm='composer remove'
alias ci='composer install'
upgrade_oh_my_zsh
uninstall_oh_my_zsh

# restart oh_my_zsh
source ~/.zshrc   

以上是关于sh 哦,我的zsh的主要内容,如果未能解决你的问题,请参考以下文章

sh 哦,我的zsh

markdown 哦,我的zsh与autosuggestions&syntax-highlighting.md

sh 到目前为止,我的Zsh别名

zsh配置新命令

终端错误:zsh:权限被拒绝:./startup.sh

sh sh和zsh文件Unix