bundles/users: unset PROMPT_COMMAND
This commit is contained in:
parent
421b27b6a7
commit
2e94aabfa6
1 changed files with 1 additions and 11 deletions
|
@ -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
|
unset PROMPT_COMMAND
|
||||||
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
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [[ -f "/etc/node.description" ]]
|
if [[ -f "/etc/node.description" ]]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue