From af460623b85c839ea98d436eee02d416ea588d1b Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Thu, 8 Oct 2015 17:56:05 +0200 Subject: [PATCH] Updated dotstow.sh --- dotstow.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dotstow.sh b/dotstow.sh index 435ff41..e5bd897 100755 --- a/dotstow.sh +++ b/dotstow.sh @@ -9,6 +9,8 @@ if [ -z "$(which realpath)" ]; then echo $HOME/${path:2} elif [ "${path:0:2}" == ".." ]; then echo $(dirname $(pwd))/${path:3} + elif [ "${path[0]}" == "." ]; then + echo $(pwd)/${path:2} else echo $(pwd)/$path fi