Date: Fri, 18 Feb 2000 14:51:55 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: David Wiard <dave@srn.com> Cc: jimmy martin <hate00@hotmail.com>, freebsd-questions@freebsd.org Subject: Re: alias's Message-ID: <20000218145155.C4423@hades.hell.gr> In-Reply-To: <3.0.5.32.20000215150719.0095cae0@paladin.srn.com>; from dave@srn.com on Tue, Feb 15, 2000 at 03:07:19PM -0800 References: <3.0.5.32.20000211143912.009715d0@paladin.srn.com> <20000211045849.3263.qmail@hotmail.com> <20000211045849.3263.qmail@hotmail.com> <20000212000440.A15261@hades.hell.gr> <3.0.5.32.20000211143912.009715d0@paladin.srn.com> <20000215203410.A13013@hades.hell.gr> <3.0.5.32.20000215150719.0095cae0@paladin.srn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 15, 2000 at 03:07:19PM -0800, David Wiard wrote: > >Actually, this might not work if your .bashrc does stuff like: > > > > PATH="$HOME/bin:$PATH" > > > >since you'll end up with $HOME/bin twice in your PATH. I have my > >..bash_profile set to: > > however, this shouldn't pose a problem since whenever you search the > path, it starts with the first and trudges to the last. searching the > same path more than once is inefficient, but shouldn't pose any real > problem, unless there's things going on that i'm unaware of. Nope, apart from an extra lookup in your path statement, and a little delay, this should not pose any really serious problem. Only for matters of efficiency one would care to note that one's path contains duplicate directorye entries. A quick tour of the bin/c?sh sources showed that both these shells use a hash to remember commands that have been already executed; makes the PATH less and less important as you continue using it. -- Giorgos Keramidas, < keramida @ ceid . upatras . gr > For my public PGP key: finger keramida@diogenis.ceid.upatras.gr PGP fingerprint, phone and address in the headers of this message. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000218145155.C4423>