Permalink
Browse files

Don't install .txt or .md files.

  • Loading branch information...
1 parent a6eeb18 commit e1bb4ec7f29d77718e29d968c37abea156323596 @MikeMcQuaid committed Mar 22, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 install-dotfiles.sh
View
@@ -26,12 +26,12 @@ for DOTFILE in *; do
[ -d $DOTFILE ] && DOTFILE="$DOTFILE/"
DIRFILE="$DOTFILESDIR/$DOTFILE"
+ echo $DOTFILE | egrep -q '(dotfiles|\.txt|\.md)' && continue
+
# Don't install gitconfig-user unless you're also called Mike.
echo $DOTFILE | grep -q 'gitconfig-user' \
&& echo $USER | grep -vq 'mike' && continue
- echo $DOTFILE | grep -q 'dotfiles' && continue
-
echo $DOTFILE | grep -q 'sublime' && HOMEFILE="$SUBLIME" \
&& mkdir -p "$HOMEFILE"

0 comments on commit e1bb4ec

Please sign in to comment.