move SSH_CHAR
parent
0345ae2961
commit
dd34bef395
2
.bashrc
2
.bashrc
|
@ -68,7 +68,7 @@ else
|
||||||
if [[ -n $SSH_CLIENT ]] ; then
|
if [[ -n $SSH_CLIENT ]] ; then
|
||||||
SSH_CHAR="📡"
|
SSH_CHAR="📡"
|
||||||
fi
|
fi
|
||||||
PROMPT_COMMAND='history -a; __git_ps1 "\[\033[01;32m\][\u@\h${SSH_CHAR}\[\033[01;34m\] \w\[\033[01;32m\]]\[\033[00m\]" "\\\$ "'
|
PROMPT_COMMAND='history -a; __git_ps1 "\[\033[01;32m\][\u@\h\[\033[01;34m\] ${SSH_CHAR}\w\[\033[01;32m\]]\[\033[00m\]" "\\\$ "'
|
||||||
else
|
else
|
||||||
PS1='\[\033[01;32m\][\u@\h\[\033[01;34m\] \w\[\033[01;32m\]]\[\033[00m\]\$ '
|
PS1='\[\033[01;32m\][\u@\h\[\033[01;34m\] \w\[\033[01;32m\]]\[\033[00m\]\$ '
|
||||||
fi
|
fi
|
||||||
|
|
Reference in New Issue