summary refs log tree commit diff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xinstall.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/install.sh b/install.sh
index 68e14899..98a4e135 100755
--- a/install.sh
+++ b/install.sh
@@ -1,6 +1,6 @@
 #!/usr/bin/env zsh
 
-# Create symlinks in ~ for files in the current directory.
+# Create symlines in ~ for files in home.
 
 set -o errexit -o nounset -o pipefail
 
@@ -10,7 +10,7 @@ error() {
 }
 
 link() {
-  local source_path="$PWD/$1"
+  local source_path="$PWD/home/$1"
   local dest_path="$HOME/$1"
 
   [ -h "$dest_path" ] && return
@@ -21,14 +21,14 @@ link() {
   echo "$1"
 }
 
-if [ -d ~/Library ]; then
-  link 'Library/Application Support/Karabiner/private.xml'
-  link 'Library/Keyboard Layouts/CodeTarmak1.keylayout'
-  link 'Library/Keyboard Layouts/Tarmak 1.keylayout'
-  link 'Library/Keyboard Layouts/Tarmak 2.keylayout'
-  link 'Library/Keyboard Layouts/Tarmak 3.keylayout'
-  link 'Library/Keyboard Layouts/Tarmak 4.keylayout'
-fi
+#if [ -d ~/Library ]; then
+#  link 'Library/Application Support/Karabiner/private.xml'
+#  link 'Library/Keyboard Layouts/CodeTarmak1.keylayout'
+#  link 'Library/Keyboard Layouts/Tarmak 1.keylayout'
+#  link 'Library/Keyboard Layouts/Tarmak 2.keylayout'
+#  link 'Library/Keyboard Layouts/Tarmak 3.keylayout'
+#  link 'Library/Keyboard Layouts/Tarmak 4.keylayout'
+#fi
 
 link '.bin/bri.c'
 link '.bin/clock.c'