🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.os.linux.debian
Article #17966

Re: dlaczego nie działają aliasy?

#17966
From: Reksio
Date: Mon, 13 Oct 2003 16:20
30 lines
1790 bytes
yox zrobił tak:
> Reksio wrote:
> 
>> yox zrobił tak:
>>> Reksio wrote:
>>> 
>>> 
>>>> Czy w .bash_profile masz odkomentowane uruchomienie .bashrc ?
>>> 
>>> Nie
>> 
>> Więc .bash_profile nie uruchamia .bashrc w który wpisujesz alias.
> 
>  O co Ci chodzi ?
> 

Jak zrozumiałem, aliasy wpisujesz do .bashrc ale...
Tu fragment standardowego .bash_profile

#if [ -f ~/.bashrc ]; then
#    source ~/.bashrc
#fi

Jak widać ww. linijki nie są wykonywane. Po usunięciu komentarza (#) .bash_profile
uruchomi .bashrc i wczyta zdefiniowane tam aliasy.
Już dobrze? ;-) 

-- 
Z całym szacunkiem
Reksio Miód
Technical Details
Message-ID: <bolk40.ob.reksio@abra.kadabra.dup.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!newsfeed.gazeta.pl!news.icm.edu.pl!news2.icm.edu.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <bm6v0j$81a$1@news.onet.pl> <1489904.DSDzW6WYK7@Voyager> <bog066.207.reksio@abra.kadabra.dup.pl> <3934799.uVqvaDW0Qx@Voyager> <boi5cf.o8.reksio@abra.kadabra.dup.pl> <1880754.pdQqhkO0il@Voyager>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!newsfeed.gazeta.pl!news.icm.edu.pl!news2.icm.edu.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Reksio <reksio@rexpolonica.tra.lala.pl>
Newsgroups: alt.pl.comp.os.linux.debian
Subject: Re: dlaczego nie działają aliasy?
Date: Mon, 13 Oct 2003 16:20:18 +0000 (UTC)
Organization: -
Lines: 30
Message-ID: <bolk40.ob.reksio@abra.kadabra.dup.pl>
References: <bm6v0j$81a$1@news.onet.pl> <1489904.DSDzW6WYK7@Voyager> <bog066.207.reksio@abra.kadabra.dup.pl> <3934799.uVqvaDW0Qx@Voyager> <boi5cf.o8.reksio@abra.kadabra.dup.pl> <1880754.pdQqhkO0il@Voyager>
NNTP-Posting-Host: tn146.internetdsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1066062018 19661 80.55.117.146 (13 Oct 2003 16:20:18 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Mon, 13 Oct 2003 16:20:18 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit