Last active
June 27, 2016 00:41
-
-
Save kevbost/3109ba166f612bd8b86e53539eede5d6 to your computer and use it in GitHub Desktop.
Con Emu .bash_profile - Windows
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
# Normal Colors | |
Black='\e[0;30m' # Black | |
Red='\e[0;31m' # Red | |
Green='\e[0;32m' # Green | |
Yellow='\e[0;33m' # Yellow | |
Blue='\e[0;34m' # Blue | |
Purple='\e[0;35m' # Purple | |
Cyan='\e[0;36m' # Cyan | |
White='\e[0;37m' # White | |
# Bold | |
BBlack='\e[1;30m' # Black | |
BRed='\e[1;31m' # Red | |
BGreen='\e[1;32m' # Green | |
BYellow='\e[1;33m' # Yellow | |
BBlue='\e[1;34m' # Blue | |
BPurple='\e[1;35m' # Purple | |
BCyan='\e[1;36m' # Cyan | |
BWhite='\e[1;37m' # White | |
# Background | |
On_Black='\e[40m' # Black | |
On_Red='\e[41m' # Red | |
On_Green='\e[42m' # Green | |
On_Yellow='\e[43m' # Yellow | |
On_Blue='\e[44m' # Blue | |
On_Purple='\e[45m' # Purple | |
On_Cyan='\e[46m' # Cyan | |
On_White='\e[47m' # White | |
NC="\e[m" # Color Reset | |
ALERT=${BWhite}${On_Red} # Bold White on red background | |
# Navigate to Workspace/, Display welcome message | |
cd /c/Workspace/ | |
clear && echo -e "${Cyan}\nHi Kevin.\n\nWelcome back to bash.\e[5;32;47m" | |
echo -e "${Yellow}\n`date`.\e[5;32;47m${NC}" | |
alias workspace="cd /c/Workspace" | |
alias ws=workspace | |
alias beautiful="clear && echo -e '${Cyan}\nI dont appreciate your sarcasm . . .' && sleep 1 && exit" | |
alias perfect="echo -e '${Cyan}\nNo, YOURE perfect. . .'" | |
alias damnit="echo -e '${BRed}\nUh oh. . . did you try googling it?'" | |
alias no="echo -e '${BRed}\nDude, just google it.'" | |
alias okay="echo -e '${BRed}\nGreat, bye felicia' && sleep 2 && exit" | |
alias awesome="echo -e '${BRed}\nI dont appreciate your sarcasm' && sleep 2 && exit" | |
alias "gitlog=git log --oneline --all --graph --decorate $*" | |
# ls=ls --show-control-chars -F --color $* | |
alias e.="explorer ." | |
alias subl="/c/Program\ Files/Sublime\ Text\ 3/subl.exe" | |
alias subl.="/c/Program\ Files/Sublime\ Text\ 3/subl.exe --add ." | |
alias edit="subl ~/.bash_profile" | |
alias reload=". ~/.bash_profile" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment