Skip to content

Instantly share code, notes, and snippets.

@filipeandre
Forked from sudipidus/intellij-eval.sh
Last active May 14, 2018 21:06
Show Gist options
  • Save filipeandre/97991398272fe4368833dbba2a2fccfb to your computer and use it in GitHub Desktop.
Save filipeandre/97991398272fe4368833dbba2a2fccfb to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "removing evaluation key"
rm ~/.IntelliJIdea*/config/eval/*.evaluation.key
echo "resetting evalsprt in options.xml"
sed -i '/evlsprt/d' ~/.IntelliJIdea*/config/options/options.xml
echo "resetting evalsprt in prefs.xml"
sed -i '/evlsprt/d' ~/.java/.userPrefs/prefs.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment