Anton Shestakov <av6@dwimlabs.net>, Sun, 17 Mar 2019 13:43:02 +0800
.bash_prompt: set terminal title
Used to be done automatically somewhere, but not anymore?
--- a/.bash_prompt Sun Mar 17 13:35:27 2019 +0800
+++ b/.bash_prompt Sun Mar 17 13:43:02 2019 +0800
local VENV="${G}+"$(basename "$VIRTUAL_ENV")"${RESET}"
+ PS1="\\[\\033]0;\\u@\\h: \\W\\007\\]\
${K}[${RESET}${TIME} \\u@\\h \
${RETCODE}\\W${VENV}${HG_INFO}${GIT_INFO}${K}]${RESET}\
${PROMPT_COLOR}\\\$${RESET} "