From 78ce5b728d9c440f7aa652560aeab0ca41b85859 Mon Sep 17 00:00:00 2001 From: Jake Wharton Date: Wed, 22 May 2013 11:10:57 -0700 Subject: [PATCH] Support AndroidStudio. --- install.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index 0ad03b4..17fe044 100755 --- a/install.sh +++ b/install.sh @@ -1,13 +1,15 @@ #!/bin/bash -# installs square's intellij configs into your user configs +# Installs Square's IntelliJ configs into your user configs. -echo "Installing IntelliJ configs..." +echo "Installing Square code style configs..." -for i in $HOME/Library/Preferences/IntelliJIdea*/codestyles $HOME/Library/Preferences/IdeaIC*/codestyles +for i in $HOME/Library/Preferences/IntelliJIdea*/codestyles \ + $HOME/Library/Preferences/IdeaIC*/codestyles \ + $HOME/Library/Preferences/AndroidStudio*/codestyles do - cp -frv $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/configs/* $i + cp -frv $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/configs/* $i 2> /dev/null done echo "Done." echo "" -echo "Restart IntelliJ and go to preferences to apply them." +echo "Restart IntelliJ and/or AndroidStudio, go to preferences, and apply 'Square' or 'SquareAndroid'."