summaryrefslogtreecommitdiff
path: root/bin/dot
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dot')
-rwxr-xr-xbin/dot2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dot b/bin/dot
index 0049e9c..acb0e64 100755
--- a/bin/dot
+++ b/bin/dot
@@ -40,7 +40,7 @@ save()
{
echo "declare -A dotmap" > .dotmap
get_links | while read link; do
- echo "dotmap[$link]=$(realpath -q $link)" >> .dotmap
+ echo "dotmap[$link]=$(readlink -f -q $link)" | sed "s#$HOME#"'$HOME#g' >> .dotmap
done
sort .dotmap -o .dotmap
}