Created
February 24, 2012 08:56
-
-
Save codingstyle/1899619 to your computer and use it in GitHub Desktop.
Colorful command line on MacOS X
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
# | |
# Dont forget to call ~/.bashrc in your ~/.profile script | |
# | |
export CLICOLOR=1 | |
alias ll='ls -l' | |
alias la='ls -A' | |
alias vi='vim' | |
alias l='ls -CF' | |
function cyan_red_prompt { | |
local CYAN="\[\033[0;36m\]" | |
local GRAY="\[\033[0;37m\]" | |
local RED="\[\033[0;31m\]" | |
PS1="${CYAN}[\u@\h ${RED}\w${CYAN}]${GRAY} " | |
} | |
cyan_red_prompt | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment