Created
December 26, 2016 16:35
-
-
Save xlbruce/7462cbaba392037376eeee06903ebd5e to your computer and use it in GitHub Desktop.
My custom ZSH config file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Example aliases | |
| alias zshconfig="vim ~/.zshrc" | |
| # alias ohmyzsh="mate ~/.oh-my-zsh" | |
| alias gpom='git pull origin master' | |
| alias mvncli='mvn clean install package' | |
| alias jjar='java -jar' | |
| alias run='mvn spring-boot:run' | |
| alias legacydb='mysql -u root -proot -D legacy' | |
| alias stagingdb='mysql -u dev_debug -p"v1owd*C$>+" -D platform_staging -h phoenix-db-qa.clickbus.net -A' | |
| alias grm='~/scripts/reset_to_master.sh' # reset vex, fallen or hive to master | |
| alias gr='git reset' | |
| alias gdc='git diff --cached' | |
| alias scr='/usr/local/screen' | |
| alias fname='find . -iname' | |
| alias gsl='git stash list' | |
| # Maven installation | |
| export PATH=/Users/clickbus0053/Applications/apache-maven-3.3.9/bin:$PATH | |
| #Java | |
| export JAVA_HOME=`/usr/libexec/java_home -v '1.8*'` | |
| export CDPATH=~:/Users/<user>/Projects | |
| function branch() { | |
| echo `cat .git/HEAD | cut -f2 -d\ | xargs basename` | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment