I'd never used funced/funcsave before . . but, I LOVE them.  That alone is
enough of a reason for me to undo my "CaseManagement" nonsense!

-Dave


On Tue, Jul 12, 2011 at 3:11 PM, Stestagg <[email protected]> wrote:

> To confirm that,  the user documentation states:
>
> A function definition file must have a filename consisting of the name
> of the function plus the suffix '.fish'.
>
> and then lower:
>
> It is very important that function definition files only contain the
> definition for the specified function and nothing else, otherwise it
> is possible that autoloading a function files requires that the
> function already be loaded, i.e. a circular dependency.
>
> so it looks like you're hitting expected behaviour.  I've found that
> submitting to the funced and funcsave workflow is much easier than
> trying to manage those files by hand
>
> Thanks
>
> Steve
>
> On Tue, Jul 12, 2011 at 9:44 PM, Stestagg <[email protected]> wrote:
> > Sorry, I'm on the benhoskins branch in which the docs are different,
> > so I couldn't find the right place, but I'm pretty sure I remember
> > something saying that the auto-reload only works when the file
> > contains one function that matches the file name.  I didn't reply
> > before because I didn't have the reference to double-check this.
> >
> > Steve
> >
> > On Mon, Jul 11, 2011 at 6:29 PM, David Frascone <[email protected]>
> wrote:
> >>
> >> So, I have several related functions that I've been storing in
> >> ~/.config/fish/functions:
> >> CreateCase.fish
> >> ArchiveCase.fish
> >> HostifyCase.fish
> >> Which contain functions CreateCase, ArchiveCase, and HostifyCase,
> >> respectively.
> >> And, I thought it would be much simpler to combine all three functions
> into
> >> one file:
> >> CaseManagement.fish
> >> But, when I do that, the file does not seem to be sourced.  (Probably
> since
> >> there is no command, CaseManagement).  Is there a different way I should
> be
> >> "cleaning up" my functions?
> >>
> >> -Dave
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> All of the data generated in your IT infrastructure is seriously
> valuable.
> >> Why? It contains a definitive record of application performance,
> security
> >> threats, fraudulent activity, and more. Splunk takes this data and makes
> >> sense of it. IT sense. And common sense.
> >> http://p.sf.net/sfu/splunk-d2d-c2
> >> _______________________________________________
> >> Fish-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/fish-users
> >>
> >>
> >
>
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to