From a7bd84029ddb6b15083f96675017be9c8e0323f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Tue, 14 Jul 2020 08:53:08 +0200 Subject: [PATCH] add comment --- PS1 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/PS1 b/PS1 index 68d7b41..4a9dddb 100644 --- a/PS1 +++ b/PS1 @@ -18,14 +18,20 @@ set_label() { # Labels: remote, tmpconfig, screen... if [ ! -z ${SSH_TTY:+x} ]; then + # oritinal #LABEL="${LABEL} \[$On_IRed\]\[$BBlack\]remote\[$Color_Off\]" - LABEL="${LABEL} ${On_IRed}${BBlack}remote${Color_Off}" + # use with echo ${LABEL@P} #LABEL="${LABEL} \[$On_IRed\]remote\[$Color_Off\]" + # use with echo -e ${LABEL} + LABEL="${LABEL} ${On_IRed}${BBlack}remote${Color_Off}" fi if $SSHS ; then + # oritinal #LABEL="${LABEL} \[$On_IWhite\]\[$BBlack\]tmpconfig\[$Color_Off\]" + # use with echo ${LABEL@P} + #LABEL="${LABEL} \[$On_IWhite\]\[$BBlack\]tmpconfig\[$Color_Off\]" + # use with echo -e ${LABEL} LABEL="${LABEL} ${On_IWhite}${BBlack}tmpconfig${Color_Off}" - #LABEL="${LABEL} \[$On_IWhite\]\[$BBlack\]tmpconfig\[$Color_Off\]" fi echo -e ${LABEL} #echo ${LABEL@P}