Bug 174814 - console does not respect bash PROMPT_COMMAND escape sequences
Summary: console does not respect bash PROMPT_COMMAND escape sequences
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-10 21:10 UTC by Mike Brown
Modified: 2008-11-10 23:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Brown 2008-11-10 21:10:04 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    Ubuntu Packages

In my .bashrc I have:

export PROMPT_COMMAND="printf \"\033]0;[\$HOST] \$PWD\a\""

which is supposed to automatically change the window title of terms to show the host & pwd.  this works correctly in xterm, rxvt, aterm, and eterm, but not konsole.
Comment 1 Robert Knight 2008-11-10 23:20:55 UTC
Hello,

By default, Konsole automatically generates tabs and window titles from the currently running program and directory.  If you want to see the window title set by the shell you need to change your tab title settings.  

Go to Settings -> Edit Current Profile -> Tabs, clear the title boxes and click Insert -> Window Title Set By Shell.