summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-05-28 20:38:14 +0200
committerFred Sundvik <fsundvik@gmail.com>2017-05-28 20:38:14 +0200
commit999b35c7f8a2fdccf3f8710c2704034bb426b711 (patch)
tree51720e148c6beece13e63a520b6503c63c04a636 /util
parentec720ac1ea63b3afa2988be06b221d2ed10a2af9 (diff)
downloadqmk_firmware-999b35c7f8a2fdccf3f8710c2704034bb426b711.tar.gz
qmk_firmware-999b35c7f8a2fdccf3f8710c2704034bb426b711.tar.xz
Create a symlink to qmk if requested
Diffstat (limited to 'util')
-rw-r--r--util/wsl_install.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/util/wsl_install.sh b/util/wsl_install.sh
index f863c182e..8999da8a4 100644
--- a/util/wsl_install.sh
+++ b/util/wsl_install.sh
@@ -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!"