On Wed, 09 Nov 2005 17:32:45 +0100, Sameline wrote:
j'ai voulu tester un rpm aujourd'hui et il m'a modifie mon affichage ;=)
quelqu'un sait ou cela ce modifie ?
Dans .bashrc ? Dans /etc/bashrc ?
avant j'avais un classic [ root]#
et maintenant j'ai un hyper long:
[16:58:00] - /tmp#
man bash, section PROMPTING ?
nicolas patrois : pts noir asocial -- SPROTCH !
P : Non, y a rien de plus immonde que de chier sur la moquette... M : Pas d'accord... A pire... Chier sous la moquette... H : ?!!
Emmanuel Fleury
Salut,
Sameline wrote:
j'ai voulu tester un rpm aujourd'hui et il m'a modifie mon affichage ;=)
quelqu'un sait ou cela ce modifie ?
avant j'avais un classic [ root]#
et maintenant j'ai un hyper long:
[16:58:00] - /tmp#
C'est stocké dans la variable PS1. Par exemple:
PS1="[ W]$ "
Pour plus d'infos sur les commandes, voir: man sh Chercher la section "PROMPTING" (une fois dans la page de man, il suffit de faire : "/" puis d'écrire PROMPTING (puis return, évidemment).
Amicalement -- Emmanuel Fleury
Modern PCs are horrible. ACPI is a complete design disaster in every way. But we're kind of stuck with it. If any Intel people are listening to this and you had anything to do with ACPI, shoot yourself now, before you reproduce. -- Linus Torvalds
Salut,
Sameline wrote:
j'ai voulu tester un rpm aujourd'hui et il m'a modifie
mon affichage ;=)
quelqu'un sait ou cela ce modifie ?
avant j'avais un classic
[root@Gateway root]#
et maintenant j'ai un hyper long:
[16:58:00] root@Gateway.msdent.int - /tmp#
C'est stocké dans la variable PS1. Par exemple:
PS1="[u@h W]\$ "
Pour plus d'infos sur les commandes, voir: man sh
Chercher la section "PROMPTING" (une fois dans la page de man, il suffit
de faire : "/" puis d'écrire PROMPTING (puis return, évidemment).
Amicalement
--
Emmanuel Fleury
Modern PCs are horrible. ACPI is a complete design disaster in every
way. But we're kind of stuck with it. If any Intel people are
listening to this and you had anything to do with ACPI, shoot yourself
now, before you reproduce.
-- Linus Torvalds
j'ai voulu tester un rpm aujourd'hui et il m'a modifie mon affichage ;=)
quelqu'un sait ou cela ce modifie ?
avant j'avais un classic [ root]#
et maintenant j'ai un hyper long:
[16:58:00] - /tmp#
C'est stocké dans la variable PS1. Par exemple:
PS1="[ W]$ "
Pour plus d'infos sur les commandes, voir: man sh Chercher la section "PROMPTING" (une fois dans la page de man, il suffit de faire : "/" puis d'écrire PROMPTING (puis return, évidemment).
Amicalement -- Emmanuel Fleury
Modern PCs are horrible. ACPI is a complete design disaster in every way. But we're kind of stuck with it. If any Intel people are listening to this and you had anything to do with ACPI, shoot yourself now, before you reproduce. -- Linus Torvalds
George Abitbol
Hello,
Salut
quelqu'un sait ou cela ce modifie ?
c'est la varialble d'environnement PS1 qui s'occupe de ca.
avant j'avais un classic [ root]#
pour retrouver ca ca doit etre a priori : PS1="[ w]# "
a mettre dans ton ~/.bashrc
Hello,
Salut
quelqu'un sait ou cela ce modifie ?
c'est la varialble d'environnement PS1 qui s'occupe de ca.
avant j'avais un classic
[root@Gateway root]#
pour retrouver ca ca doit etre a priori :
PS1="[u@h w]# "