[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tips: fancy xterm title



 
    
Fancy xterm title:

in bash:

#
# fancy window title for xterms
#
if [ $TERM = 'xterm' ];  then
    export PROMPT_COMMAND="echo -e \"\\033[?7h\\033]0;`whoami`@`hostname -s`:\`pwd\`\\007\\c\"";
fi

in tcsh:

set prompt="%S%n@%m%s %~ %T %h\n %#%#"

Google