[LUGOS] .bashrc in [ -z "$PS1" ]
Gorjanc Gregor
Gregor.Gorjanc at bfro.uni-lj.si
Wed Sep 7 07:34:39 CEST 2005
Zdravo!
Obicajno je v sistemski ali pa uporabnikovih inicializacijskih skriptah
za bash nekaj podobnega kot
# If not running interactively, don't do anything.
[ -z "$PS1" ] && return
Sam test razumem i.e., ce je $PS1 prazen potem koncaj delo. Jaz nisem
pri sebi e nikoli doivel kaj taknega, pa me zanima cemu potem ta
vrstica.
Hvala za komentarje!
Lep pozdrav / With regards,
Gregor Gorjanc
----------------------------------------------------------------------
University of Ljubljana
Biotechnical Faculty URI: http://www.bfro.uni-lj.si/MR/ggorjan
Zootechnical Department mail: gregor.gorjanc <at> bfro.uni-lj.si
Groblje 3 tel: +386 (0)1 72 17 861
SI-1230 Domzale fax: +386 (0)1 72 17 888
Slovenia, Europe
----------------------------------------------------------------------
"One must learn by doing the thing; for though you think you know it,
you have no certainty until you try." Sophocles ~ 450 B.C.
----------------------------------------------------------------------
More information about the lugos-list
mailing list