Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

Commit 052e5f4

Browse files
committed
Auto run all install.sh scripts
This adds a ``script/install`` that iteratively runs all ``install.sh`` scripts located in the dotfiles directory. Solves @holman's request from commit f697ba7
1 parent f697ba7 commit 052e5f4

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎script/install‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Run all dotfiles installers.
4+
5+
set -e
6+
7+
cd "$(dirname $)"/..
8+
9+
# find the installers and run them iteratively
10+
find . -name install.sh | while read installer ; do sh -c "${installer}" ; done

0 commit comments

Comments
 (0)