From 261aaa8cf687be76e67fe5423f59450365769889 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Thu, 15 Feb 2018 23:53:36 -0500 Subject: Prevent gen-setup.sh from picking up on the current directory being a git repo... might break your configuration if you don't have a .git folder in the directory gen-setup.sh is being run in. beware --- gen-setup.sh | 2 +- setup.sh | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/gen-setup.sh b/gen-setup.sh index 878a603..e8d9cdf 100755 --- a/gen-setup.sh +++ b/gen-setup.sh @@ -18,7 +18,7 @@ columate() { printf "%s" $_tabs } -REPOS="$(find . -iname .git -type d | sed -e's/\/\.git$//' -e's_./__')" +REPOS="$(find . -iname .git -type d | tail -n+2 | sed -e's/\/\.git$//' -e's_./__')" WD="$(pwd)" diff --git a/setup.sh b/setup.sh index 7bcade9..cd5b911 100755 --- a/setup.sh +++ b/setup.sh @@ -14,9 +14,6 @@ clone() { fi cd $WD } -DIR="." -URL="https://git.riedstra.us/mitch/vim-cfg" -clone DIR="bundle/jinja2-syntax" URL="https://github.com/Glench/Vim-Jinja2-Syntax.git" clone -- cgit v1.2.3