Created
November 16, 2018 11:31
-
-
Save jeonguk/e0799d3957a9bdbf6bb36c04f39cba40 to your computer and use it in GitHub Desktop.
Revisions
-
jeonguk created this gist
Nov 16, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,58 @@ #.bash_profile if [ -f ~/.bashrc ]; then . ~/.bashrc fi export TERM="xterm-256color" export PATH=/opt/local/bin:/opt/local/sbin:$PATH export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home export M3_HOME=/Users/barry/app/apache-maven-3.5.3 export GRADLE_HOME=/Users/barry/app/gradle-4.9 export PATH=$PATH:$JAVA_HOME/bin:$M3_HOME/bin:$GRADLE_HOME/bin /////////////////////////////////////// #------------------- # Personnal Aliases #------------------- alias cls='clear' alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' alias cl='clear' # -> Prevents accidentally clobbering files. alias mkdir='mkdir -p' alias h='history' alias j='jobs -l' alias which='type -a' #------------------------------------------------------------- # The 'ls' family (this assumes you use a recent GNU ls). #------------------------------------------------------------- # Add colors for filetype and human-readable sizes by default on 'ls': alias ll="ls -al" #----------------------------------- # autoload -U promptinit; promptinit # prompt pure #----------------------------------- export JAVA_8_HOME=$(/usr/libexec/java_home -v1.8) export JAVA_11_HOME=$(/usr/libexec/java_home -v11) alias java8='export JAVA_HOME=$JAVA_8_HOME' alias java11='export JAVA_HOME=$JAVA_11_HOME' # default to JAVA 8 java8 plugins=(autojump) source /Users/barry/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # added by travis gem [ -f /Users/barry/.travis/travis.sh ] && source /Users/barry/.travis/travis.sh