Automated PS1 update in set_prompt with bar()