From cdbebd6cd74a97b93f789be0c752cbfbcfef2450 Mon Sep 17 00:00:00 2001 From: "Adam A. G. Shamblin" Date: Sun, 12 May 2013 20:42:59 -0600 Subject: [PATCH 1/1] First commit First commit, added .vimrc and .bash_profile. --- dotbash_profile | 21 +++++++++++++++++++++ dotvimrc | 17 +++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dotbash_profile create mode 100644 dotvimrc 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() -- 2.39.5