Re: more TERM breakage [screen, gnome-terminal]

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

 



in /etc/bashrc, this should be changed to:
if [ "$PS1" ]; then
    case $TERM in
        xterm*)
    rxvt*)
    gnome)
    konsole)
                if [ -e /etc/sysconfig/bash-prompt-xterm ]; then
                        PROMPT_COMMAND=/etc/sysconfig/bash-prompt-xterm
                else
                PROMPT_COMMAND='echo -ne "\033]0;${USER}@${ ....
                fi
                ;;


But then ofcourse this should be valid bash, I only know c, c and c.


So after reading man bash it should be: if [ "$PS1" ]; then case $TERM in xterm* | rxvt* | gnome | konsole) if [ -e /etc/sysconfig/bash-prompt-xterm ]; then PROMPT_COMMAND=/etc/sysconfig/bash-prompt-xterm else PROMPT_COMMAND='echo -ne "\033]0;${USER}@${ .... fi ;;

Regards,

Hans

--
EuropeSwPatentFree http://EuropeSwPatentFree.hispalinux.es



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux