projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5335213
)
Allow an empty PROMPT_COMMAND for bug #152157.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 20 Oct 2006 22:33:46 +0000
(22:33 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 20 Oct 2006 22:33:46 +0000
(22:33 -0000)
svn path=/main/trunk/; revision=4771
pym/output.py
patch
|
blob
|
history
diff --git
a/pym/output.py
b/pym/output.py
index 63f24fc227f2a29b326900cf419afd88daa23196..ff40325b09d2437e1b18388d7d689c72f381c967 100644
(file)
--- a/
pym/output.py
+++ b/
pym/output.py
@@
-189,7
+189,9
@@
def xtermTitleReset():
global default_xterm_title
if default_xterm_title is None:
prompt_command = os.getenv('PROMPT_COMMAND')
- if prompt_command is not None:
+ if prompt_command == "":
+ default_xterm_title = ""
+ elif prompt_command is not None:
default_xterm_title = commands.getoutput(prompt_command)
else:
pwd = os.getenv('PWD','')