diff setup @ 322:799d3bd1bfa1

Even more merges >_>
author Edho Arief <edho@myconan.net>
date Sun, 18 Mar 2012 13:16:54 +0700
parents c6ad8279b076
children 795ad57794a6
line wrap: on
line diff
--- a/setup	Mon Mar 12 08:50:32 2012 +0700
+++ b/setup	Sun Mar 18 13:16:54 2012 +0700
@@ -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"
   ;;