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
|
||||
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
|
||||
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
|
||||
;;
|
||||
esac
|
||||
unset PROMPT_COMMAND
|
||||
|
||||
if [[ -f "/etc/node.description" ]]
|
||||
then
|
||||
|
|
Loading…
Reference in a new issue