diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-10-12 14:41:33 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-10-12 14:41:33 -0400 |
commit | b0cdbb3da2c2b36d3c65b00db4eaf5a0d29c2cd6 (patch) | |
tree | 6815d1584f909fd52a87f04de26fc179ae7c163e /.config/symlinks.sh | |
parent | 5f7de477be298f158369862c1a3cc80286fc7e32 (diff) | |
parent | 9413cf45dfc7601ace8d448a026a24073b6d73b4 (diff) |
Merge branch 'thinkpenguin-par'
Diffstat (limited to '.config/symlinks.sh')
-rwxr-xr-x | .config/symlinks.sh | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/.config/symlinks.sh b/.config/symlinks.sh deleted file mode 100755 index a3db6ae..0000000 --- a/.config/symlinks.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash - -sed -e '/^\s*$/d' -e '/#/d' symlinks | while read _path _link; do - path="$(sed -rn 's|[^/]+/|../|g;s|/[^/]+$|/|p' <<<"$_link")${_path}" - link="$HOME/$_link" - if [[ -L "$link" ]]; then - rm -f "$link" - fi - if [[ -e "$link" ]]; then - echo "ERROR: file exists: $link" >> /dev/stderr - else - mkdir -p "${link%/*}" - ln -s "$path" "$link" - fi -done |