Skip to content

Instantly share code, notes, and snippets.

@codingstyle
Created February 24, 2012 08:56
Show Gist options
  • Save codingstyle/1899619 to your computer and use it in GitHub Desktop.
Save codingstyle/1899619 to your computer and use it in GitHub Desktop.
Colorful command line on MacOS X
#
# 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