Browse Source

Drop some info from PS1

master
10sr 4 years ago
parent
commit
05e2f7963c
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      shrc

+ 2
- 2
shrc View File

@@ -1135,7 +1135,7 @@ fi


__my_ps1_info1(){ __my_ps1_info1(){
# first line of PS1 # first line of PS1
echo "${__my_ps1_sh}$(__my_ps1_scale)$(__my_ps1_git)$(__my_ps1_bttry)$(__my_ps1_moc)"
echo "${__my_ps1_sh}$(__my_ps1_scale)$(__my_ps1_git)"
} }


test -n "$__MY_SCRIPT" && \ test -n "$__MY_SCRIPT" && \
@@ -1145,7 +1145,7 @@ test -n "$SSH_CONNECTION" && \
__my_ps1_str_ssh="SSH" __my_ps1_str_ssh="SSH"


test -n "$__MY_DTACH" && \ test -n "$__MY_DTACH" && \
__my_ps1_str_dt="DT:`basename "$__MY_DTACH$"`"
__my_ps1_str_dt="DT:`basename "$__MY_DTACH"`"


__my_ps1_info2(){ __my_ps1_info2(){
# second line of PS1 # second line of PS1


Loading…
Cancel
Save