" basic settings
set number
set hidden
set history=10000
set cursorline
hi CursorLine cterm=NONE ctermbg=lightblue ctermfg=darkyellow
set ruler
set cmdheight=2
set hlsearch
set tabstop=4
set shiftwidth=4
set softtabstop=4
set autoindent
set ignorecase smartcase
set showcmd
syntax on
##system cmd
alias ll="ls -Gl"
alias lll="ls -Gla"
##terminal
export CLICOLOR=1
# \h:\W \u\$
export PS1='\[\033[01;33m\]\u@\h\[\033[01;31m\] (\W) \$ \[\033[00m\]'
# grep
alias grep='grep –color=always'
##Android
export ANDROID_HOME='/Users/LynneQ/Documents/sdks/adt-bundle-mac-x86_64-20130522/sdk'
export PATH=${PATH}:${ANDROID_HOME}/platform-tools:${ANDROID_HOME}/tools
##Customization
alias DocLL='cd /Users/LynneQ/Documents/blog/lynnequ.github.com'
##Git
alias gst='git status'
alias gba='git branch -a'
alias gb='git branch'
alias gsts='git status --short'
alias gco='git commit -m'
alias gad='git add'
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
Notes:
LynneQ:~ lqu$ Definition: machine name, colon, present working directory(~) a sapce, the current user and dollar sign($) (# if the shell has super user) Ref
Install sublime text 2 app
After dmg package installation, to make it usable within terminal.