Created
March 16, 2015 16:56
-
-
Save ElementTheory/d1df6ea5345844d2021d to your computer and use it in GitHub Desktop.
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
| # .bash_profile | |
| # Get the aliases and functions | |
| if [ -f ~/.bashrc ]; then | |
| . ~/.bashrc | |
| fi | |
| # User specific environment and startup programs | |
| PATH=$PATH:$HOME/bin | |
| export PATH | |
| ##### Handy Aliases | |
| alias ll='ls -FlaG' | |
| alias repache='sudo /etc/init.d/httpd restart' | |
| ##### Clean(er) Prompt | |
| BLACK=$(tput setaf 0) | |
| RED=$(tput setaf 1) | |
| GREEN=$(tput setaf 2) | |
| YELLOW=$(tput setaf 3) | |
| LIME_YELLOW=$(tput setaf 190) | |
| POWDER_BLUE=$(tput setaf 153) | |
| BLUE=$(tput setaf 4) | |
| MAGENTA=$(tput setaf 5) | |
| CYAN=$(tput setaf 6) | |
| WHITE=$(tput setaf 7) | |
| BRIGHT=$(tput bold) | |
| NORMAL=$(tput sgr0) | |
| BLINK=$(tput blink) | |
| REVERSE=$(tput smso) | |
| UNDERLINE=$(tput smul) | |
| UNDERLINE_END=$(tput rmul) | |
| #don't have the prompt on a blank line, it looks like a frozen terminal | |
| PS1='${BRIGHT}${BLUE}SSH \h: ${NORMAL}${MAGENTA}\u${WHITE} in ${GREEN}\w${WHITE}${NORMAL}\n\$ ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment