Il gio, 2003-01-09 alle 11:38, Matteo Leccardi ha scritto:

> 
> Tornando al tuo problema, ti consiglio controllare questi file ed
> evenutalmente provare - magari dopo averne create copie di backup - i file
> di configurazione della tua utenza.

export | grep PS1 
non restituisce alcun risultato... :-/

A controllare /etc/bashrc non mi pare vi sia nulla di fuori posto... del
resto, per ogni latro utente il prompt � "corretto"!

Comunque ecco cosa appare:

# /etc/bashrc

# System wide functions and aliases
# Environment stuff goes in /etc/profile

# by default, we want this to get set.
# Even for non-interactive, non-login shells.
if [ `id -gn` = `id -un` -a `id -u` -gt 99 ]; then
        umask 002
else
        umask 022
fi

# are we an interactive shell?
if [ "$PS1" ]; then
    case $TERM in
        xterm*)
            PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
            ;;
        *)
            ;;
    esac
    [ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[\u@\h \W]\\$ "
    
    if [ -z "$loginsh" ]; then # We're not a login shell
        for i in /etc/profile.d/*.sh; do
            if [ -x $i ]; then
                . $i
            fi
        done
    fi
fi

unset loginsh



Rispondere a