add function_exists
tweak history settings
more twaks to bashrc