aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-02-15 23:53:36 -0500
committerMitch Riedstra <mitch@riedstra.us>2018-02-15 23:53:36 -0500
commit261aaa8cf687be76e67fe5423f59450365769889 (patch)
tree5c4524e11dc4fee7d9f5c2e6535bd8a6695a592a
parent05fb9ff701f04100664c8aaac3c483ac5d1e480c (diff)
downloadvim-cfg-261aaa8cf687be76e67fe5423f59450365769889.tar.gz
vim-cfg-261aaa8cf687be76e67fe5423f59450365769889.tar.xz
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
-rwxr-xr-xgen-setup.sh2
-rwxr-xr-xsetup.sh3
2 files changed, 1 insertions, 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