bundles/users: remove PROMPT_COMMAND from bashrc
This commit is contained in:
parent
468a0b0023
commit
94eff087a0
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