liquidprompt: only enable title in screen
This commit is contained in:
parent
41c4fff96f
commit
c32a591b67
@ -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")"
|
LP_TITLE="$(_lp_title "$LP_PS1")"
|
||||||
|
|
||||||
# Insert it in the prompt
|
# 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
|
if [[ -n "${IN_NIX_SHELL}" ]]; then
|
||||||
LP_PS1="${LP_COLOR_NIX_SHELL}[nix-shell]${NO_COL} ${LP_PS1}"
|
LP_PS1="${LP_COLOR_NIX_SHELL}[nix-shell]${NO_COL} ${LP_PS1}"
|
||||||
|
Loading…
Reference in New Issue
Block a user