Classify shell settings
Rename internal function