Created
February 7, 2012 15:04
-
-
Save seanbehan/1760119 to your computer and use it in GitHub Desktop.
My Bash Profile
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
alias ll='ls -lha' | |
alias r='rails' | |
alias b='bundle' | |
alias reload!='rake db:drop && rake db:create && rake db:migrate && rake db:fixtures:load' | |
source ~/.git-completion.bash | |
PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ \e[0;31m$ \e[0m' | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxCxDxBxegedabagacad | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" |
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
gem: --no-ri --no-rdoc |
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
[user] | |
name = Sean Behan | |
email = [email protected] | |
[github] | |
user = bseanvt | |
[difftool "Kaleidoscope"] | |
cmd = ksdiff-wrapper git \"$LOCAL\" \"$REMOTE\" | |
[difftool] | |
prompt = false | |
[diff] | |
tool = Kaleidoscope | |
[color] | |
ui = true |
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
call pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
" Buffers do not have to be saved before they can be hidden. Might be | |
" confusing for some. | |
set hidden | |
" | |
set wildignore=*.pyc,*.class | |
set nobackup | |
set noswapfile | |
" | |
" " guioptions e = show tabs, m = show menu | |
set guioptions=em | |
highlight xxx guifg=#66D9EF | |
set autoread | |
" Remember last 1000 commands | |
set history=1000 | |
" | |
" " Show line numbers | |
set number | |
set ruler | |
set backspace=indent,eol,start | |
" " Show trailing spaces and tabs | |
"set listchars=tab:>-,trail:.,extends:.,precedes:. | |
set list | |
set listchars=trail:. | |
set ignorecase | |
set smartcase | |
set nowrap | |
set tabstop=2 | |
set shiftwidth=2 | |
set expandtab | |
set softtabstop=2 | |
set autoindent | |
set pastetoggle=<F3> | |
filetype plugin indent on | |
set backupdir=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp | |
set directory=~/.vim-tmp,~/.tmp,~/tmp,/var/tmp,/tmp | |
imap jj <Esc> | |
"imap js <Esc> :w<Enter> | |
"nnoremap js <Esc>:w<Enter> | |
nnoremap ;s <Esc>:w<Enter> | |
imap ;s <Esc>:w<Enter> | |
nnoremap ; : | |
map <C-h> <C-w>h | |
map <C-j> <C-w>j | |
map <C-k> <C-w>k | |
map <C-l> <C-w>l | |
set incsearch | |
syntax enable | |
map <leader>W :%s/\s\+$//<cr>:let @/=''<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment