diff --git a/lib/prompt-init b/lib/prompt-init index 3fa2dfe..d81358a 100755 --- a/lib/prompt-init +++ b/lib/prompt-init @@ -9,8 +9,7 @@ if [[ -a "$OVER_PROMPT_CFG" ]]; then source "$OVER_PROMPT_CFG" fi -# both tmux and screen set TERM=screen -if [[ "${TERM}" == "screen" ]]; then +if [[ "${TERM}" == "screen" || "${TERM:0:4}" == "tmux" ]]; then function __over_prompt_set_title { if [[ -n "${OVER_PROMPT_TITLE}" ]]; then print -Pn "\033k${OVER_PROMPT_TITLE}\033\134"