Updated dotstow.sh
This commit is contained in:
parent
f616c7c691
commit
af460623b8
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@ if [ -z "$(which realpath)" ]; then
|
||||||
echo $HOME/${path:2}
|
echo $HOME/${path:2}
|
||||||
elif [ "${path:0:2}" == ".." ]; then
|
elif [ "${path:0:2}" == ".." ]; then
|
||||||
echo $(dirname $(pwd))/${path:3}
|
echo $(dirname $(pwd))/${path:3}
|
||||||
|
elif [ "${path[0]}" == "." ]; then
|
||||||
|
echo $(pwd)/${path:2}
|
||||||
else
|
else
|
||||||
echo $(pwd)/$path
|
echo $(pwd)/$path
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue