Mac OSX 卸载jetbrains全家桶

在Mac OSX删除 WebStorm; PhpStorm; PyCharm; RubyMine; AppCode; CLion, IntelliJ; 0xDBE10 设置和链接

执行代码

curl -sL https://gist.github.com/denji/9731967/raw/jetbrains-uninstall.sh | bash -s

源代码

#!/usr/bin/env bash
set -x

# Clear Application Saved States JetBrains
rm -rfv ~/Library/Saved\ Application\ State/com.jetbrains.*

# PhpStorm
rm -fv /usr/local/bin/pstorm
rm -rfv ~/Library/Preferences/WebIde{??,???}
rm -rfv ~/Library/Caches/WebIde{??,???}
rm -rfv ~/Library/Application\ Support/WebIde{??,???}
rm -rfv ~/Library/Logs/WebIde{??,???}

# WebStorm
rm -fv /usr/local/bin/wstorm
rm -rfv ~/Library/Preferences/WebStorm{?,??}
rm -rfv ~/Library/Caches/WebStorm{?,??}
rm -rfv ~/Library/Application\ Support/WebStorm{?,??}
rm -rfv ~/Library/Logs/WebStorm{?,??}

# PyCharm
rm -fv /usr/local/bin/charm
rm -rfv ~/Library/Preferences/PyCharm{??,???}
rm -rfv ~/Library/Caches/PyCharm{??,???}
rm -rfv ~/Library/Application\ Support/PyCharm{??,???}
rm -rfv ~/Library/Logs/PyCharm{??,???}

# PyCharm Educational Edition
rm -rfv ~/Library/Preferences/PyCharmEdu{??,???}
rm -rfv ~/Library/Caches/PyCharmEdu{??,???}
rm -rfv ~/Library/Application\ Support/PyCharmEdu{??,???}
rm -rfv ~/Library/Logs/PyCharmEdu{??,???}

# RubyMine
rm -fv /usr/local/bin/mine
rm -rfv ~/Library/Preferences/RubyMine{??,???}
rm -rfv ~/Library/Caches/RubyMine{??,???}
rm -rfv ~/Library/Application\ Support/RubyMine{??,???}
rm -rfv ~/Library/Logs/RubyMine{??,???}

# AppCode
rm -rfv ~/Library/Preferences/appCode{??,???}
rm -rfv ~/Library/Caches/appCode{??,???}
rm -rfv ~/Library/Application\ Support/appCode{??,???}
rm -rfv ~/Library/Logs/appCode{??,???}

# IntelliJ IDEA
rm -rfv ~/Library/Preferences/IntelliJIdea{??,???}
rm -rfv ~/Library/Caches/IntelliJIdea{??,???}
rm -rfv ~/Library/Application\ Support/IntelliJIdea{??,???}
rm -rfv ~/Library/Logs/IntelliJIdea{??,???}

# IntelliJ IDEA Community Edition
rm -rfv ~/Library/Preferences/IdeaIC{??,???}
rm -rfv ~/Library/Caches/IdeaIC{??,???}
rm -rfv ~/Library/Application\ Support/IdeaIC{??,???}
rm -rfv ~/Library/Logs/IdeaIC{??,???}

# CLion
rm -rfv ~/Library/Preferences/clion{??,???}
rm -rfv ~/Library/Caches/clion{??,???}
rm -rfv ~/Library/Application\ Support/clion{??,???}
rm -rfv ~/Library/Logs/clion{??,???}

# 0xDBE10
rm -rfv ~/Library/Preferences/0xDBE{??,???}
rm -rfv ~/Library/Caches/0xDBE{??,???}
rm -rfv ~/Library/Application\ Support/0xDBE{??,???}
rm -rfv ~/Library/Logs/0xDBE{??,???}

转载请注明来源:新一 » Mac OSX 卸载jetbrains全家桶

赞 (0) 评论 (0) 分享 ()

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址