From: Adam A. G. Shamblin Date: Mon, 13 May 2013 02:42:59 +0000 (-0600) Subject: First commit X-Git-Url: https://git.vexinglabs.com/?a=commitdiff_plain;h=cdbebd6cd74a97b93f789be0c752cbfbcfef2450;p=dotfiles.git First commit First commit, added .vimrc and .bash_profile. --- cdbebd6cd74a97b93f789be0c752cbfbcfef2450 diff --git a/dotbash_profile b/dotbash_profile new file mode 100644 index 0000000..a617c5e --- /dev/null +++ b/dotbash_profile @@ -0,0 +1,21 @@ +export CLICOLOR=1 +export PATH=$PATH:~/bin + +YELLOW=$(tput setaf 136); +ORANGE=$(tput setaf 166); +GREEN=$(tput setaf 64); +BASE2=$(tput setaf 254); +RESET=$(tput sgr0); + +function prompt_char { + git branch >/dev/null 2>/dev/null && echo '⤧ ' && return + echo '$' +} + +export PS1='\[$ORANGE\]\u\[$RESET\] @ \[$YELLOW\]\h\[$RESET\] in \[$GREEN\]\w\[$RESET\]\n\[$BASE2\]$(prompt_char)\[$RESET\] ' + +# Extended PYTHONPATH for brew-installed packages + +export PYTHONPATH="/usr/local/lib/python2.7/site-packages/:$PYTHONPATH" + +[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* diff --git a/dotvimrc b/dotvimrc new file mode 100644 index 0000000..13d89d1 --- /dev/null +++ b/dotvimrc @@ -0,0 +1,17 @@ +set nocompatible + +syntax on + +set autoindent +set cindent +set backup +set backupdir=~/.saves +set expandtab +set softtabstop=4 +set tabstop=4 +set shiftwidth=4 +set noerrorbells +set vb +set colorcolumn=80 + +call pathogen#infect()