Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 1 Apr 2003 16:21:36 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Peter Davis cc: cygwin AT cygwin DOT com Subject: Re: Aliases no longer defined? In-Reply-To: <20030401211058.GA7808@bitstream.com> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 1 Apr 2003, Peter Davis wrote: > On Tue, Apr 01, 2003 at 03:52:09PM -0500, Igor Pechtchanski wrote: > > > > Peter, > > > > Note how I took your own value, and simply used the correct bash commands > > to associate it with an alias/shell function. I'll give another example, > > perhaps the pattern will become clear: > > > > Change > > set stunnel='/cygdrive/c/stunnel/stunnel-3.22 -c -d pop3 -r mail.attbi.com:995&' > > export stunnel > > into either > > alias stunnel='/cygdrive/c/stunnel/stunnel-3.22 -c -d pop3 -r mail.attbi.com:995&' > > or > > stunnel () { /cygdrive/c/stunnel/stunnel-3.22 -c -d pop3 -r mail.attbi.com:995 & } > > export stunnel > > > > Does the above make it clearer? > > > D'oh! This is what this file originally said. It was all > > alias x=y > export x > > When this failed to work on my new Cygwin installation, I changed them > all to > > export x=y > > That still didn't work, so I changed them back ... to "set". D'oh. > That was my own stupid fault. Anyway, that wasn't working, but now it > seems to be. I just did 'source ~/.bashrc' again, and all seems well. > > I'll double check this on my home system, where I did *not* tamper > with the .bashrc file. > > Thanks for all your help on this. > > Can you give me a hint how to add some directories to my PATH and > MANPATH variables in the .bashrc? > > Thanks *very* much! > -pd Since .bashrc is "source"d, simply setting (and exporting) them should work. However, as this is a general bash question, it's off-topic for this list. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Knowledge is an unending adventure at the edge of uncertainty. -- Leto II -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/