Add Groovy file settings
Improve bash history handling