Permalink
Browse files

No longer using stow, updated setup.zsh

  • Loading branch information...
csand committed Jan 14, 2013
1 parent 15a8803 commit 673d8c8d047ccf5e9f1e7ed0ae6459fb983d7bb5
View
@@ -1,7 +1,6 @@
.DS_Store
*.pyc
-vim/.vim/bundle
-vim/.vim/sessions
-vim/.vim/.netrwhist
-vim/.vim/unmanaged
-vundle/.vim/bundle
+vim/bundle
+vim/sessions
+vim/.netrwhist
+vim/unmanaged
View
@@ -1,3 +0,0 @@
-[submodule "vundle/.vim/bundle/vundle"]
- path = vundle/.vim/bundle/vundle
- url = git://github.com/gmarik/vundle.git
File renamed without changes.
View
File renamed without changes.
View
File renamed without changes.
View
@@ -1,6 +0,0 @@
-stow -t $HOME git hg tmux
-stow -t $HOME ohmyzsh
-stow -t $HOME vim zsh
-stow -t $HOME vundle
-stow -t $HOME/bin scripts
-
View
@@ -0,0 +1,14 @@
+#!/usr/bin/env zsh
+setopt EXTENDED_GLOB
+
+DOTDIR="${DOTDIR:-$HOME}"
+BINDIR="${BINDIR:-$HOME/bin}"
+ln_cmd='ln -sf'
+
+for dotfile in $PWD/^(README.md|setup.sh|scripts); do
+ "$ln_cmd $dotfile $DOTDIR/.${dotfile:t}"
+done
+
+scripts=($PWD/scripts/*)
+mkdir -p "$BINDIR"
+"$ln_cmd $scripts $BINDIR"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
File renamed without changes.
Submodule vundle deleted from 2a494f

0 comments on commit 673d8c8

Please sign in to comment.