Concept of "post" files. Added one for running vim-config setup automatically.

Also, updated vim-config to the latest version.
This commit is contained in:
2013-11-09 12:54:24 -05:00
parent 8d611bfb9d
commit 9a621f7386
3 changed files with 9 additions and 1 deletions
+5
View File
@@ -8,6 +8,10 @@ function link_file() {
ln -sf ${2#$HOME/} ~/
}
function post_file() {
source "$2"
}
function copy_or_link() {
local base dest
local cmd="find $HOME/dotfiles/$1 -mindepth 1 -maxdepth 1"
@@ -26,3 +30,4 @@ function copy_or_link() {
copy_or_link "link"
# copy_or_link "copy"
copy_or_link "post"
+3
View File
@@ -0,0 +1,3 @@
cd ~/vim-config
./setup.sh