]> Vexing Labs - dotfiles.git/commitdiff
Add syntax handling for Podfiles, grep color for bash.
authorAdam A.G. Shamblin <adam.shamblin@imulus.com>
Mon, 14 Jul 2014 22:53:17 +0000 (16:53 -0600)
committerAdam A.G. Shamblin <adam.shamblin@imulus.com>
Mon, 14 Jul 2014 22:53:17 +0000 (16:53 -0600)
dotbash_profile
dotvimrc

index fc5db92793f6c4e1cf7515d7aaf033a161dec7d4..aa3ee4c67254c032fad3fbc3c5c0ce2b9e232d38 100644 (file)
@@ -1,4 +1,5 @@
 export CLICOLOR=1
+export GREP_COLOR=always
 export PYTHONPATH="/usr/local/lib/python2.7/site-packages:$PYTHONPATH"
 export PYTHON_ENV_PATH=$HOME/env
 export GRADLE_HOME=$HOME/bin/gradle
@@ -29,6 +30,7 @@ fi
 YELLOW=$(tput setaf 136);
 ORANGE=$(tput setaf 166);
 GREEN=$(tput setaf 64);
+BLUE=$(tput setaf 33);
 BASE2=$(tput setaf 254);
 RESET=$(tput sgr0);
 
@@ -49,6 +51,7 @@ export PS1='\[$ORANGE\]\u\[$RESET\] @ \[$YELLOW\]\h\[$RESET\] in \[$GREEN\]\w\[$
 #
 ##################################################
 
+#export PYTHON_VIRTUALENV="${BLUE}[`basename \"$VIRTUAL_ENV\"`]${RESET} "
 function activate () {
     command source $PYTHON_ENV_PATH/$1/bin/activate
 }
index a1d6824c97b4c6981ee32b5e1a5cb630ecb54fba..61811a79f0ecbf8e179d762113d7126c65ec434c 100644 (file)
--- a/dotvimrc
+++ b/dotvimrc
@@ -25,6 +25,7 @@ filetype plugin indent on
 autocmd FileType make setlocal noexpandtab
 
 au BufNewFile,BufRead *.json set filetype=javascript
+au BufNewFile,BufRead Podfile,*.podspec set filetype=ruby
 au BufNewFile,BufRead /usr/local/nginx/conf/* set filetype=nginx
 au BufNewFile,BufRead *.md,*.txt setlocal textwidth=80
 au BufWritePost *.py call Flake8()