From: Adam A.G. Shamblin Date: Sun, 7 Sep 2014 23:02:00 +0000 (-0600) Subject: Add Makefile, minor filetype-specific tweaks. X-Git-Url: https://git.vexinglabs.com/?a=commitdiff_plain;h=76e0d6cf50500ce1ad4b129cfed124d1cbd6773b;p=dotfiles.git Add Makefile, minor filetype-specific tweaks. --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e78dda2 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +all: clean build + +clean: + rm -rf ~/.bash_profile + rm -rf ~/.vimrc + rm -rf ~/.gvimrc + +build: + ln -s $(CURDIR)/dotbash_profile ~/.bash_profile + ln -s $(CURDIR)/dotvimrc ~/.vimrc + ln -s $(CURDIR)/dotgvimrc ~/.gvimrc diff --git a/dotbash_profile b/dotbash_profile index aa3ee4c..9822c1b 100644 --- a/dotbash_profile +++ b/dotbash_profile @@ -5,7 +5,8 @@ export PYTHON_ENV_PATH=$HOME/env export GRADLE_HOME=$HOME/bin/gradle export ANDROID_PATH=/Applications/Android\ Studio.app/sdk/platform-tools:/Applications/Android\ Studio.app/sdk/tools export POSTGRES_PATH=/Applications/Postgres.app/Contents/Versions/9.3/bin -export PATH=~/bin:/usr/local/bin:$PATH:$GRADLE_HOME/bin:$ANDROID_PATH:$POSTGRES_PATH +export SCALA_HOME=~/bin/scala +export PATH=~/bin:/usr/local/bin:$PATH:$GRADLE_HOME/bin:$ANDROID_PATH:$POSTGRES_PATH:$SCALA_HOME/bin ################################################## # diff --git a/dotgvimrc b/dotgvimrc index dd42082..00fd402 100644 --- a/dotgvimrc +++ b/dotgvimrc @@ -2,7 +2,7 @@ set nocompatible "source $VIMRUNTIME/vimrc_example.vim colorscheme solarized -set background=light +set background=dark set autoindent set cindent set number diff --git a/dotvimrc b/dotvimrc index bb595f6..a3c8525 100644 --- a/dotvimrc +++ b/dotvimrc @@ -33,5 +33,6 @@ au BufWritePost *.py call Flake8() au BufWritePost *.js :JSHint au BufNewFile,BufRead *.dat setlocal noexpandtab +au BufNewFile,BufRead *.jade setlocal noexpandtab call pathogen#infect()