about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xdots.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/dots.sh b/dots.sh index c312cb1..99b7afd 100755 --- a/dots.sh +++ b/dots.sh
@@ -61,7 +61,12 @@ mklink() { # mklink SOURCE DEST
61 61
62getfiles() { 62getfiles() {
63 d="$1"; shift 63 d="$1"; shift
64 find "$d" -type f -a -not -name "$(basename "$0")" "$@" 64 for file
65 do find "$d" -type f \
66 -a -not -name "$(basename "$0")" \
67 -a -not -path "$d/.git*" \
68 -a -iname "$file"
69 done
65} 70}
66 71
67homify() { 72homify() {