From 3dd62c4ae3eeafd22aac47ae48f2ea3ea95808f2 Mon Sep 17 00:00:00 2001 From: "Adam A.G. Shamblin" Date: Mon, 14 Jul 2014 16:53:17 -0600 Subject: [PATCH] Add syntax handling for Podfiles, grep color for bash. --- dotbash_profile | 3 +++ dotvimrc | 1 + 2 files changed, 4 insertions(+) diff --git a/dotbash_profile b/dotbash_profile index fc5db92..aa3ee4c 100644 --- a/dotbash_profile +++ b/dotbash_profile @@ -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 } diff --git a/dotvimrc b/dotvimrc index a1d6824..61811a7 100644 --- 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() -- 2.39.5