Created
June 21, 2020 15:57
-
-
Save Rajin9601/2af5cee40247dbd2a9c7234baa6b28b2 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 | |
# Sync Live Templates to repo | |
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 "Sync from $folder" | |
cp $folder/templates/*.xml $BASEDIR/live-templates | |
echo "Done." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment