Created
October 10, 2011 08:56
-
-
Save utaal/1274905 to your computer and use it in GitHub Desktop.
home mac
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
PATH=$PATH:/Users/utaal/Applications/bin | |
if [ -f ~/.bashrc ]; then | |
source ~/.bashrc | |
fi |
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
# If not running interactively, don't do anything | |
[ -z "$PS1" ] && return | |
# make less more friendly for non-text input files, see lesspipe(1) | |
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" | |
# enable colors | |
export CLICOLOR=1 | |
PS1=': ${debian_chroot:+($debian_chroot)}\[\033[01;34m\]\w\[\033[00m\] (\[\033[01;32m\]\u@\h\[\033[00m\])\n$ ' | |
# If this is an xterm set the title to user@host:dir | |
case "$TERM" in | |
xterm*|rxvt*) | |
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\w (\u@\h) \a\]$PS1" | |
;; | |
*) | |
;; | |
esac | |
alias grep='grep --color=auto' | |
alias fgrep='fgrep --color=auto' | |
alias egrep='egrep --color=auto' | |
alias mvimt='mvim --remote-tab' | |
alias mvims='mvim --servername vim' | |
alias l='ls' | |
# Alias | |
alias sgitc='git svn rebase && git svn dcommit' | |
# Only list dirs | |
alias ldir='ls -d */' |
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
[user] | |
name = Andrea Lattuada | |
email = [email protected] | |
[core] | |
editor = vim | |
excludesfile = /Users/utaal/.gitignore_global | |
[color] | |
ui = true | |
[difftool "sourcetree"] | |
cmd = opendiff \"$LOCAL\" \"$REMOTE\" | |
path = | |
[mergetool "sourcetree"] | |
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\" | |
trustExitCode = true |
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
*~ | |
.DS_Store | |
*.swp |
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
set gfn=Monaco:h14 | |
set guioptions-=l " remove scrollbars | |
set guioptions-=r |
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
set backup | |
set guioptions-=T | |
set mousehide | |
set ruler | |
set autoindent | |
set shiftwidth=2 | |
set expandtab | |
set sm | |
set tabstop=2 | |
set wrap | |
" enable syntax highlighting | |
syntax on | |
" disable backups | |
set nobackup | |
" enable mouse | |
set mouse=a | |
" incremental smartCase search with highlighting | |
set ignorecase | |
set hlsearch | |
set smartcase | |
set incsearch | |
" enable filetype | |
filetype plugin on | |
filetype indent on | |
" color scheme | |
colorscheme wombat | |
" vim-addon-manager | |
" set runtimepath+=~/opt/vim/plugins/vim-addon-manager | |
" call vam#ActivateAddons(['vim-scala','supertab']) | |
" ctags | |
set tags+=tags;$HOME |
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
for f in `find . -type f -depth 1 -name '.*'`; do echo $f; diff $f ~/$f; done |
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
" Maintainer: Lars H. Nielsen ([email protected]) | |
" Last Change: January 22 2007 | |
set background=dark | |
hi clear | |
if exists("syntax_on") | |
syntax reset | |
endif | |
let colors_name = "wombat" | |
" Vim >= 7.0 specific colors | |
if version >= 700 | |
hi CursorLine guibg=#2d2d2d | |
hi CursorColumn guibg=#2d2d2d | |
hi MatchParen guifg=#f6f3e8 guibg=#857b6f gui=bold | |
hi Pmenu guifg=#f6f3e8 guibg=#444444 | |
hi PmenuSel guifg=#000000 guibg=#cae682 | |
endif | |
" General colors | |
hi Cursor guifg=NONE guibg=#656565 gui=none | |
hi Normal guifg=#f6f3e8 guibg=#242424 gui=none | |
hi NonText guifg=#808080 guibg=#303030 gui=none | |
hi LineNr guifg=#857b6f guibg=#000000 gui=none | |
hi StatusLine guifg=#f6f3e8 guibg=#444444 gui=italic | |
hi StatusLineNC guifg=#857b6f guibg=#444444 gui=none | |
hi VertSplit guifg=#444444 guibg=#444444 gui=none | |
hi Folded guibg=#384048 guifg=#a0a8b0 gui=none | |
hi Title guifg=#f6f3e8 guibg=NONE gui=bold | |
hi Visual guifg=#f6f3e8 guibg=#444444 gui=none | |
hi SpecialKey guifg=#808080 guibg=#343434 gui=none | |
" Syntax highlighting | |
hi Comment guifg=#99968b gui=italic | |
hi Todo guifg=#8f8f8f gui=italic | |
hi Constant guifg=#e5786d gui=none | |
hi String guifg=#95e454 gui=italic | |
hi Identifier guifg=#cae682 gui=none | |
hi Function guifg=#cae682 gui=none | |
hi Type guifg=#cae682 gui=none | |
hi Statement guifg=#8ac6f2 gui=none | |
hi Keyword guifg=#8ac6f2 gui=none | |
hi PreProc guifg=#e5786d gui=none | |
hi Number guifg=#e5786d gui=none | |
hi Special guifg=#e7f6da gui=none | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment