From 21e1ee1708e3cc8b15f465d39016126a7f306685 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 25 Sep 2026 11:50:37 -0700 Subject: [PATCH] bashrc, add shortcut to nuke Android Studio settings. --- tasks/general/acct_mgmt/users.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tasks/general/acct_mgmt/users.yml b/tasks/general/acct_mgmt/users.yml index cb1cdc4..9525ada 100644 --- a/tasks/general/acct_mgmt/users.yml +++ b/tasks/general/acct_mgmt/users.yml @@ -1201,6 +1201,12 @@ alias fix_network="reconnect" alias fix_connection="reconnect" alias fix_connections="reconnect" + function_reset_android_studio: + # Useful after Android Studio is closed improperly. Resets all settings. + function reset_android_studio { + mv -v ~/.var/app/com.google.AndroidStudio ~/TRASH/com.google.AndroidStudio-`date +"%Y%m%d"` + } + alias reset-android-studio="reset_android_studio " - name: General | Account Management | Users | Files | Common Variable @@ -1291,6 +1297,7 @@ {{ function_loop }} {{ process_notify_log }} {{ function_reconnect }} + {{ function_reset_android_studio }} - name: General | Account Management | Users | Files | .profile + .xsessionrc blockinfile: