-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zsh_aliases
73 lines (72 loc) · 3.07 KB
/
.zsh_aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
export ANDROID_HOME=~/Library/Android/sdk
export JAVA_8_HOME=$(/usr/libexec/java_home -v1.8) 2> /dev/null
export JAVA_11_HOME=$(/usr/libexec/java_home -v11) 2> /dev/null
export JAVA_13_HOME=$(/usr/libexec/java_home -v13) 2> /dev/null
export JAVA_15_HOME=$(/usr/libexec/java_home -v15) 2> /dev/null
export JAVA_17_HOME=$(/usr/libexec/java_home -v17) 2> /dev/null
export JAVA_20_HOME=$(/usr/libexec/java_home -v20) 2> /dev/null
export JAVA_21_HOME=$(/usr/libexec/java_home -v21) 2> /dev/null
alias atom='/Applications/Atom.app/Contents/Resources/app/atom.sh'
alias java8='export JAVA_HOME=$JAVA_8_HOME'
alias java11='export JAVA_HOME=$JAVA_11_HOME'
alias java13='export JAVA_HOME=$JAVA_13_HOME'
alias java15='export JAVA_HOME=$JAVA_15_HOME'
alias java17='export JAVA_HOME=$JAVA_17_HOME'
alias java20='export JAVA_HOME=$JAVA_20_HOME'
alias java21='export JAVA_HOME=$JAVA_21_HOME'
alias c=clear
alias ll='ls -la'
alias gm='git checkout master'
alias gmm='git checkout main'
alias gsu='git submodule update --init --recursive'
alias fpush='git push --force-with-lease'
alias push='git push'
alias pull='git pull'
alias gfu='git fetch upstream'
alias gmu='git merge upstream/master'
alias gmmu='git merge upstream/main'
alias mee='mvn clean eclipse:clean eclipse:eclipse'
alias mcl='mvn clean eclipse:clean'
alias mcc='mvn clean compile test-compile -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true'
alias mct='mvn clean test -DskipAfterFailureCount=1'
alias mci='mvn clean install -Dassembly.skipAssembly=true -DskipTests -Dcheckstyle.skip=true -Djacoco.skip=true -Dmaven.javadoc.skip=true'
alias mmci='./mvnw clean install -Dassembly.skipAssembly=true -DskipTests -Dcheckstyle.skip=true -Djacoco.skip=true -Dmaven.javadoc.skip=true'
alias mdr='mvn dependency:resolve'
alias mversions='mvn versions:use-latest-releases'
alias gg='cd ~/code'
alias ocov='open target/scala-2.12/scoverage-report/index.html'
alias stc='sbt clean test:compile'
alias sttc='sbt +clean +test:compile'
alias sct='sbt clean test'
alias scov='sbt clean coverage test coverageReport'
alias python36x='pyenv version 3.6.9'
alias lg='git lg'
alias dtree='mvn dependency:tree'
alias stopdock='docker ps -q | xargs docker stop'
alias draft='gh pr create --draft'
alias pr='gh pr create'
alias v2='cd ~/code/aws-sdk-java-v2'
alias v1='cd ~/code/aws-sdk-java'
alias tags='git tag --list'
alias rmorig='find . -name *.orig | xargs rm -f '
alias rmtarget='find . -name target | xargs rm -rf '
alias rmbak='find . -name *.bak | xargs rm -f '
alias rgv="rg 'values\\(\\)'"
alias jsonp='python -mjson.tool'
alias goff='mvn dependency:go-offline dependency:sources'
alias oss='cd ~/oss'
alias zz='cd ~/code/zuul'
alias pp='cd ~/code/pinot'
alias genlock='./gradlew generateLock saveLock'
alias gcb='./gradlew clean build'
alias gcheck='./gradlew check'
alias gcj='./gradlew clean compileJava compileTestJava'
alias gcs='./gradlew clean compileJava compileTestJava compileScala compileTestScala'
alias nn='cd ~/code/netty'
alias remote='git remote -v'
alias rr='git remote -v'
alias nq='networkQuality'
alias modsync='mod config recipes moderne sync'
mtest() {
mvn -Dtest=$1 test
}