]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - lib.sh
herbstluftwm/autostart: add bindings to run programs and select windows
[config/dotfiles.git] / lib.sh
diff --git a/lib.sh b/lib.sh
index 12c9b08a665414e232fb10b343c1989f00312dfd..05341537363b6e2bf19ed44df8bd50c3d184a175 100644 (file)
--- a/lib.sh
+++ b/lib.sh
@@ -140,7 +140,7 @@ link() {
 
     # Get all necessary paths.
     pwd=`pwd`
-    base=`printf '%s' "$2" | sed "s|\~|$HOME|"` # expand ~, some sh don't do it
+    base=`printf '%s' "$2" | sed "s|~|$HOME|"` # expand ~, some sh don't do it
     base=`dirname "$base"`
     source=`printf '%s' "$pwd/$1" | sed "s|$base/||"`
     target=`basename "$2"`