From eb42ec6ee49f62a972648313b08cc4417835584f Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Fri, 10 Aug 2012 10:37:17 +0200 Subject: [PATCH] setup multiposition --- setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.sh b/setup.sh index 7bfc3ac..f779b22 100755 --- a/setup.sh +++ b/setup.sh @@ -1,5 +1,7 @@ #!/bin/sh +[ $(pwd) = "$HOME/.dotfiles" ] || ln -sfn "$(pwd)" "$HOME/.dotfiles" + for file in home/*; do dotfile="$(basename "$file")" case "${dotfile}" in