Fix 256 colors detection on Ubuntu
Refactor
Only source in interactive session