sh Bash别名
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh Bash别名相关的知识,希望对你有一定的参考价值。
#Common
alias cd.='cd ..; cd'
#Maven
alias mvnRelease='mvn clean; mvn release:clean; mvn release:prepare;
read -p "Perform release? (y/n): " choice
case "$choice" in
y|Y ) mvn release:perform;;
n|N ) echo "Canceled release perform";;
* ) echo "invalid";;
esac;'
alias mvnClean='mvn clean'
alias mvnInstall='mvnClean; mvn install'
alias mvnDeploy='mvnClean; mvn deploy'
#Git
alias gCommit='git commit -am'
alias gCommitSF='git commit -m'
alias gPush='git push origin'
以上是关于sh Bash别名的主要内容,如果未能解决你的问题,请参考以下文章
sh bash别名
sh BASH常用别名及设置
sh Bash别名
sh git的Bash别名
sh Bash别名
sh 有用的bash别名或命令