Updated dotstow.sh

This commit is contained in:
madmaurice 2015-10-08 17:56:05 +02:00
parent f616c7c691
commit af460623b8

View file

@ -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