diff options
author | Urbain Vaes <urbain@vaes.uk> | 2016-04-09 17:19:49 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2016-04-09 17:19:49 +0100 |
commit | c8fb4a598c6067944d4d4ea3c13856f28167f4e7 (patch) | |
tree | 4cf5e67f506604457c9513f69218b95f401ac074 /bin/dot | |
parent | 28969c5dee61c2b6108965be7dec7cab38247063 (diff) |
Use environment variable in dotfiles
Diffstat (limited to 'bin/dot')
-rwxr-xr-x | bin/dot | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |