Created
January 28, 2017 21:16
-
-
Save jgresalfi/82af94685c9b9991af82bbb9bbfb6a09 to your computer and use it in GitHub Desktop.
bash_profile with some useful alias', etc
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
# 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\ Text.app/Contents/SharedSupport/bin/subl' | |
alias c='clear' | |
alias ls='ls -la' | |
alias pysrv='python3 -m http.server' | |
alias home='cd ~' | |
alias nocors='/Applications/Google\ Chrome.app/Contents/MacOS/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