From c32a591b673a831551e39b5b7c3c5afc756ffdb5 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Wed, 6 Jan 2016 18:02:33 +0100 Subject: [PATCH] liquidprompt: only enable title in screen --- liquid.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/liquid.ps1 b/liquid.ps1 index 2c86449..86cbca1 100644 --- a/liquid.ps1 +++ b/liquid.ps1 @@ -47,7 +47,9 @@ LP_PS1="${LP_PS1}${LP_RUNTIME}${LP_ERR}${LP_MARK_PREFIX}${LP_MARK}${LP_PS1_POSTF LP_TITLE="$(_lp_title "$LP_PS1")" # Insert it in the prompt -LP_PS1="${LP_TITLE}${LP_PS1}" +if [[ "$TERM" == "screen*" ]]; then + LP_PS1="${LP_TITLE}${LP_PS1}" +fi if [[ -n "${IN_NIX_SHELL}" ]]; then LP_PS1="${LP_COLOR_NIX_SHELL}[nix-shell]${NO_COL} ${LP_PS1}"