From 76e0d6cf50500ce1ad4b129cfed124d1cbd6773b Mon Sep 17 00:00:00 2001 From: "Adam A.G. Shamblin" Date: Sun, 7 Sep 2014 17:02:00 -0600 Subject: [PATCH] Add Makefile, minor filetype-specific tweaks. --- Makefile | 11 +++++++++++ dotbash_profile | 3 ++- dotgvimrc | 2 +- dotvimrc | 1 + 4 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 Makefile 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() -- 2.39.5