-
Notifications
You must be signed in to change notification settings - Fork 0
/
jetbrains_plugins_cleanup.sh
executable file
·41 lines (35 loc) · 1.16 KB
/
jetbrains_plugins_cleanup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/bash
echo "Deleting unwanted plugins from Jetbrains Webstorm, PyCharm and Rider"
# Define the directories to be removed
DIRECTORIES=(
"/opt/webstorm/plugins/qodana"
"/opt/webstorm/plugins/space"
"/opt/webstorm/plugins/vcs-hg"
"/opt/webstorm/plugins/vcs-svn"
"/opt/webstorm/plugins/ml-llm"
"/usr/share/rider/plugins/qodana"
"/usr/share/rider/plugins/vcs-svn"
"/usr/share/rider/plugins/vcs-hg"
"/usr/share/rider/plugins/space"
"/usr/share/rider/plugins/ml-llm"
"/usr/share/rider/plugins/vcs-perforce"
"/usr/share/rider/plugins/dependencyAnalysis"
"/usr/share/rider/plugins/UnrealLink"
"/usr/share/rider/plugins/rider-unity"
"/opt/pycharm-professional/plugins/qodana"
"/opt/pycharm-professional/plugins/vcs-svn"
"/opt/pycharm-professional/plugins/vcs-hg"
"/opt/pycharm-professional/plugins/space"
"/opt/pycharm-professional/plugins/ml-llm"
"/opt/pycharm-professional/plugins/vcs-perforce"
)
# Iterate over each directory and remove it if it exists
for dir in "${DIRECTORIES[@]}"; do
if [ -d "$dir" ]; then
echo "Removing $dir..."
rm -rf "$dir"
else
echo "$dir does not exist, skipping."
fi
done
echo "Script completed."