Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use PROMPT_COMMAND to set titles on iTerm tabs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use PROMPT_COMMAND to set titles on iTerm tabs
Authored by: kal on Oct 20, '03 11:24:55AM

I do the same thing with the PS1 variable:
PS1="\[\033]0;\u@\h: \w\007\]\u@\h:\W>"

Does anyone know which is the best/recommended method to use? Setting PROMPT_COMMAND or PS1 ?



[ Reply to This | # ]