summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-08-14 14:53:53 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-08-14 14:53:53 -0400
commitb19688516c68862bdb24839e568f1e74947b7fa2 (patch)
treec50a721d841c7afa8bb1ebaa02faf06d0cf246e5 /.config
parentc18638a1ebc629092960729ad1d98e44dd562c94 (diff)
mv .config/symlinks.sh .local/bin/config-symlinks
Diffstat (limited to '.config')
-rwxr-xr-x.config/symlinks.sh15
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