diff setup @ 321:8f6885874144

More merges!
author Edho Arief <edho@myconan.net>
date Sun, 18 Mar 2012 05:08:21 +0000
parents c6ad8279b076
children 795ad57794a6
line wrap: on
line diff
--- a/setup	Sun Mar 04 12:20:33 2012 +0000
+++ b/setup	Sun Mar 18 05:08:21 2012 +0000
@@ -50,6 +50,8 @@
   fi
   _srcfile="${rcdir}/${2}"
   _dstfile="${HOME}/${3}"
+  _dstdir="${_dstfile%/*}"
+  mkdir -p "${_dstdir}"
   if test ! -h "${_dstfile}"; then
     if test -f "${_dstfile}"; then
       cp "${_dstfile}" "${_dstfile}.bak"
@@ -103,7 +105,8 @@
     done
     _rc "${1}" "tmux" ".tmux.conf"
     _rc "${1}" "hg" ".hgrc"
-    _rc "${1}" "vim" ".vimrc"
+    _rc "${1}" "vimrc" ".vimrc"
+    _rc "${1}" "vim-solarized" ".vim/colors/solarized.vim"
     _rc "${1}" "inputrc" ".inputrc"
     _rc "${1}" "../bin" ".ecos_bin"
   ;;