Skip to content

Instantly share code, notes, and snippets.

@xanathar
Last active August 29, 2015 14:23
Show Gist options
  • Save xanathar/60cd94f628b4ef4f969a to your computer and use it in GitHub Desktop.
Save xanathar/60cd94f628b4ef4f969a to your computer and use it in GitHub Desktop.
My bash_profile on OS/X
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
export GIT_EDITOR='subl -w'
export EDITOR='subl -w'
export JAVA_HOME=$(/usr/libexec/java_home)
export AKKA_HOME="~/tools/akka-2.3.11"
alias ll='ls -FGlAhp'
alias cd..='cd ../' # Go back 1 directory level (for fast typers)
alias ..='cd ../' # Go back 1 directory level
alias ...='cd ../../' # Go back 2 directory levels
alias .3='cd ../../../' # Go back 3 directory levels
alias .4='cd ../../../../' # Go back 4 directory levels
alias .5='cd ../../../../../' # Go back 5 directory levels
alias .6='cd ../../../../../../' # Go back 6 directory levels
alias which='type -all' # which: Find executables
alias ls='ls -GFh'
##
# Your previous /Users/mmastropaolo/.bash_profile file was backed up as /Users/mmastropaolo/.bash_profile.macports-saved_2015-06-24_at_10:54:16
##
# MacPorts Installer addition on 2015-06-24_at_10:54:16: adding an appropriate PATH variable for use with MacPorts.
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
# Finished adapting your PATH environment variable for use with MacPorts.
@xanathar
Copy link
Author

(portions copied here and there from the internet !)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment