my osx .bash_profile
#aliases
alias ..="cd .."
alias home="cd /Users/petar"
alias profile="cd /Users/petar; subl .bash_profile"
#internal ip
alias ip="ifconfig"
alias ip0="ipconfig getifaddr en0" #usually wifi
#external ip
alias xip="curl ifconfig.me"
# alias for quick DNS cache flushing
alias flush='sudo dscacheutil -flushcache'
#folders
alias web="cd /Users/petar/Development/GitHubDevelopment/Web-Development/"
# remove login details
# in home directory > touch .hushlogin
# to remove it, > rm .hushlogin
# command prompt text
#export PS1="\[\e[32m\]\u @ \[\e[33m\]\w \[\e[0m\] \n\[\e[35;40m\]> \[\e[0m\]"
export PS1="\[\e[32m\]\u @ \[\e[33m\]\w \[\e[0m\] \n\[\e[35;40m\]> \[\e[0m\]"
export PS2='\[\e[35;40m\]> \[\e[0m\]'
#title of command prompt
export PROMPT_COMMAND='echo -ne "\033]0; ${PWD##*/}\007"'