]> Vexing Labs - dotfiles.git/commitdiff
First commit
authorAdam A. G. Shamblin <adam.shamblin@gmail.com>
Mon, 13 May 2013 02:42:59 +0000 (20:42 -0600)
committerAdam A. G. Shamblin <adam.shamblin@gmail.com>
Mon, 13 May 2013 02:42:59 +0000 (20:42 -0600)
First commit, added .vimrc and .bash_profile.

dotbash_profile [new file with mode: 0644]
dotvimrc [new file with mode: 0644]

diff --git a/dotbash_profile b/dotbash_profile
new file mode 100644 (file)
index 0000000..a617c5e
--- /dev/null
@@ -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 (file)
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()