lovecreatesbeauty
unread,Dec 29, 2011, 11:11:07 AM12/29/11You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
i want to set my command line prompt to a single $, but let terminal
title shows the hostname information on Debian 6.
i need to put this:
PS1='\$ '
before the following content in .bashrc, which appears to set the same
PS1 too, to keep command line prompt and terminal title different,
why?
what does the following syntax for set terminal title with PS1 mean?
# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
;;
*)
;;
esac