Terminator Command $PROMPT_COMMAND works in BASH but not KSH
Asked by
Fred Rosenberg
Good Morning,
I am using Ubuntu 9.04 64 bit.
The title bar works properly with BASH, but does not work with KSH. The title bar says "none"
I have added this to my ~/.kshrc
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
echo "in .kshrc starting a terminal"
PROMPT_
;;
*)
;;
esac
When I start a terminal session in Terminator, I get the following message (this tells me I am executing .kshrc and executing the code to set the PROMPT_COMMAND ):
in .kshrc starting a terminal
My variables are getting set properly:
/home/normalman>$ echo $TERM
xterm
/home/normalman>$ echo $PROMPT_COMMAND
Hard Coded in .kshrc
Can you help please?
Thank you for your time and consideration,
Fred
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Terminator Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Fred Rosenberg
- Solved:
- Last query:
- Last reply:
To post a message you must log in.