Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
bash_profile with some useful alias', etc
#   Set Paths
#   ------------------------------------------------------------
    export PATH="$PATH:/usr/local/bin/"
    export PATH="/usr/local/git/bin:/sw/bin/:/usr/local/bin:/usr/local/:/usr/local/sbin:/usr/local/mysql/bin:$PATH"
#   Set Default Editor (change 'Nano' to the editor of your choice)
#   ------------------------------------------------------------
    export EDITOR=/usr/bin/nano
# Misc shortcuts
#   ------------------------------------------------------------
    alias subl='/Applications/Sublime\'
    alias c='clear'
    alias ls='ls -la'
    alias pysrv='python3 -m http.server'
    alias home='cd ~'
    alias nocors='/Applications/Google\\ Chrome --disable-web-security --user-data-d$
# Set CLICOLOR if you want Ansi Colors in iTerm2
export CLICOLOR=1
# Set colors to match iTerm2 Terminal Colors
# export TERM=xterm-256color
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment