add comment
This commit is contained in:
parent
c082fc3496
commit
a7bd84029d
1 changed files with 8 additions and 2 deletions
10
PS1
10
PS1
|
@ -18,14 +18,20 @@ set_label() {
|
||||||
|
|
||||||
# Labels: remote, tmpconfig, screen...
|
# Labels: remote, tmpconfig, screen...
|
||||||
if [ ! -z ${SSH_TTY:+x} ]; then
|
if [ ! -z ${SSH_TTY:+x} ]; then
|
||||||
|
# oritinal
|
||||||
#LABEL="${LABEL} \[$On_IRed\]\[$BBlack\]remote\[$Color_Off\]"
|
#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\]"
|
#LABEL="${LABEL} \[$On_IRed\]remote\[$Color_Off\]"
|
||||||
|
# use with echo -e ${LABEL}
|
||||||
|
LABEL="${LABEL} ${On_IRed}${BBlack}remote${Color_Off}"
|
||||||
fi
|
fi
|
||||||
if $SSHS ; then
|
if $SSHS ; then
|
||||||
|
# oritinal
|
||||||
#LABEL="${LABEL} \[$On_IWhite\]\[$BBlack\]tmpconfig\[$Color_Off\]"
|
#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}"
|
||||||
#LABEL="${LABEL} \[$On_IWhite\]\[$BBlack\]tmpconfig\[$Color_Off\]"
|
|
||||||
fi
|
fi
|
||||||
echo -e ${LABEL}
|
echo -e ${LABEL}
|
||||||
#echo ${LABEL@P}
|
#echo ${LABEL@P}
|
||||||
|
|
Loading…
Reference in a new issue