[fix][config] fix terminfo path for smartos. add nice bash options.