bundles/users: remove PROMPT_COMMAND from bashrc

This commit is contained in:
Franzi 2022-02-18 17:03:54 +01:00
parent 468a0b0023
commit 94eff087a0
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -9,17 +9,7 @@ then
else else
export PS1='\[\e[1;34m\][\[\e[1;32m\]'"$__node_name"'\[\e[1;34m\]][\[\e[1;32m\]\u\[\e[1;34m\]@\[\e[1;32m\]\w\[\e[1;34m\]] > \[\e[0m\]' export PS1='\[\e[1;34m\][\[\e[1;32m\]'"$__node_name"'\[\e[1;34m\]][\[\e[1;32m\]\u\[\e[1;34m\]@\[\e[1;32m\]\w\[\e[1;34m\]] > \[\e[0m\]'
fi fi
case $TERM in
xterm*|rxvt*)
export PROMPT_COMMAND='echo -ne "\a\e]0;'"$__node_name"':${PWD}\a"'
;;
screen*)
export PROMPT_COMMAND='echo -ne "\a\ek'"$__node_name"':${PWD}\e\\"'
;;
*)
unset PROMPT_COMMAND unset PROMPT_COMMAND
;;
esac
if [[ -f "/etc/node.description" ]] if [[ -f "/etc/node.description" ]]
then then