mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-09 21:58:19 +00:00
Create a symlink to qmk if requested
This commit is contained in:
parent
ec720ac1ea
commit
999b35c7f8
1 changed files with 13 additions and 0 deletions
|
@ -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!"
|
||||
|
|
Loading…
Reference in a new issue