Created
June 21, 2020 15:57
-
-
Save Rajin9601/9e90976679a461f69361a6a80703db8f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Install Live Templates | |
BASEDIR=$( cd "$( dirname $0 )" && pwd ) | |
echo "Select Android Studio Directory" | |
select folder in ~/Library/Preferences/AndroidStudio*; | |
do test -n "$folder" && break; echo "Invalid Selection"; done | |
echo "Installing to $folder" | |
cp $BASEDIR/live-templates/*.xml $folder/templates | |
echo "Done." | |
echo "" | |
echo "Restart AndroidStudio" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment