xterm title

für meinen xterm die title-bar setzen

# setting xterm title-bar to user@host:path

case "$TERM" in
        dtterm|xterm*)
                #PS1="\[\e]0; \u@\h:\w \a\\]\u@\h:\w > "
                PS1="\[\e]0; \u@\h:\w \a\\]\n\h:\w [\!]\n > "
                # end of case selections for this type of terminal
        ;;

        *)      # change primary prompt to show hostname and dir name
                PS1="\u@\h:\w > "
        ;;
esac

ReinholdFarsch/XtermTitle (zuletzt geändert am 2007-12-23 22:48:33 durch localhost)