Created
February 27, 2016 19:46
-
-
Save amcclosky/0b8b60ab0c3aa80e3e87 to your computer and use it in GitHub Desktop.
A .bash_profile
This file contains 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
source ~/bin/fancy_prompt.sh | |
alias urlencode='python -c "import sys, urllib as ul; print ul.quote_plus(sys.argv[1])"' | |
alias show-hidden='defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder' | |
alias hide-hidden='defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder' | |
alias flushdns='sudo discoveryutil udnsflushcaches' | |
alias serve='python -m SimpleHTTPServer 8080' | |
alias ls='ls -lah' | |
export HISTFILESIZE=1000000 | |
export HISTSIZE=1000000 | |
export HISTCONTROL=ignoreboth | |
export HISTIGNORE='ls:bg:fg:history' | |
export HISTTIMEFORMAT='%F %T ' | |
export PROMPT_COMMAND='history -a' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment