Skip to content

Instantly share code, notes, and snippets.

@william8th
Last active September 24, 2018 10:48
Show Gist options
  • Save william8th/3cb6e0c5548b73c2af50 to your computer and use it in GitHub Desktop.
Save william8th/3cb6e0c5548b73c2af50 to your computer and use it in GitHub Desktop.
My custom bash profile
export PS1="\[\033[38;5;10m\]\u\[$(tput sgr0)\]\[\033[38;5;0m\]@\h:\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;135m\]\w\[$(tput sgr0)\]\[\033[38;5;0m\]\\$\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]"
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
export GOPATH="$HOME/Code/Go"
export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home"
export PATH="/usr/local/sbin:$GOPATH/bin:$JAVA_HOME/bin:$PATH"
alias ls='ls -Gfh'
alias mvnn='mvn -DskipTests=true'
alias godoc-local='godoc -http=":8080"'
alias godeps="go list -f '{{ join .Deps \"\n\" }}' ."
alias goimps="go list -f '{{ join .Imports \"\n\" }}' ."
alias shrug="echo '¯\_(ツ)_/¯' | pbcopy"
alias mvnn='mvn -DskipTests=true'
alias py='python3'
[[ $TERM != "screen" ]] && exec tmux attach
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment