bundles/users: unset PROMPT_COMMAND

This commit is contained in:
Franzi 2022-02-25 15:04:49 +01:00
parent 421b27b6a7
commit 2e94aabfa6
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