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

Re: bash.bashrc

Le Wednesday 25 June 2008 vers 21:55, Yannick Palanque(Yannick 
Palanque <ypalanque@no-log.org>) a écrit:

> D'ailleurs, le manuel indique :
>       When an interactive shell that is not a login shell  is
> started,  bash reads  and  executes  commands  from
> /etc/bash.bashrc and ~/.bashrc, if these files exist.

En fait, j'ai vu au début du fichier:
# If not running interactively, don't do anything
[ -z "$PS1" ] && return

	Cela m'a induit en erreur, car le prompt est définit ailleurs. Donc, 
ce fichier est bien sourcé!
The reasonable man adapts himself to the world; the unreasonable one 
persists in trying to adapt the world to himself. Therefore all 
progress depends on the unreasonable man.

Reply to: