]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Create a symlink to qmk if requested
authorFred Sundvik <fsundvik@gmail.com>
Sun, 28 May 2017 18:38:14 +0000 (21:38 +0300)
committerFred Sundvik <fsundvik@gmail.com>
Sun, 28 May 2017 18:38:14 +0000 (21:38 +0300)
util/wsl_install.sh

index f863c182e0b27ac1df236d3118fd3ebebe01b84e..8999da8a46209f5d62ebdec867559f3f03d1d3fa 100644 (file)
@@ -136,6 +136,19 @@ else
     done
 fi
 
+while true; do
+    echo
+    echo "Do you want to add a symlink to the QMK repository in your home directory for convenience?"
+    echo "This will create a folder 'qmk_firmware' in your home directory."
+    echo "In the future you can use this folder instead of the full path on your windows file system"
+    read -p "(Y/N)? " res
+    case $res in
+        [Yy]* ) ln -sfn "$dir/.." ~/qmk_firmware; break;;
+        [Nn]* ) break;;
+        * ) echo "Invalid answer";;
+    esac
+done
+
 echo
 echo "******************************************************************************"
 echo "Installation completed!"