🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #262

Re: bash and FPATH

#262
From: Chet Ramey
Date: Thu, 06 Aug 1992 06:46
19 lines
1370 bytes
> Does bash have the same functionality supported by ksh88's FPATH?  As far as
> I could see bash does not support FPATH.  Did anyone write such an
> implementation for bash?  Does anyone know if it is planned for future
> releases of bash?  Any ideas what to do in the mean time? (no, sourcing all
> of the files in the FPATH will not do -- it defies the purpose of FPATH.)

There's a shell script implementation of `autoload' (which is what ksh
uses FPATH for) as part of the bash-1.12 distribution in
.../examples/functions/autoload.  I wrote this one, based on something
from Bill Trost.

Noah Friedman also has something similar, with require/provide.  He's
posted it several times.

--
``The use of history as therapy means the corruption of history as history.''
	-- Arthur Schlesinger

Chet Ramey, Case Western Reserve University	Internet: chet@po.CWRU.Edu
Technical Details
Message-ID: <9208061446.AA24943.SM@odin.INS.CWRU.Edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!odin.ins.cwru.edu!chet
References: chet@odin.ins.cwru.edu (Chet Ramey)

Show Full Headers
Complete Article Headers
Newsgroups: gnu.bash.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!odin.ins.cwru.edu!chet
From: chet@odin.ins.cwru.edu (Chet Ramey)
Subject: Re: bash and FPATH
Message-ID: <9208061446.AA24943.SM@odin.INS.CWRU.Edu>
Sender: gnulists@ai.mit.edu
Reply-To: chet@po.cwru.edu
Organization: Gnus Not Usenet
References: chet@odin.ins.cwru.edu (Chet Ramey)
Distribution: gnu
Date: Thu, 6 Aug 1992 06:46:05 GMT
Approved: bug-bash@prep.ai.mit.edu
Lines: 20