There is the direnv project that has fish shell support and IMHO does this
kind of thing in a very minimal, but
useful way. It is really easy to get this wrong and go overboard with wierd
side effects.
http://direnv.net
On Wed, Apr 8, 2015 at 12:27 AM, David Adam <zanc...@ucc.gu.uwa.edu.au>
wrote:
> On Tue, 7 Apr 2015, Stéphane Wirtel wrote:
> > I think it’s already asked in the past (not sure, I haven’t checked
> > the archives) but I wanted to know If I can have a .fishrc file in a
> > directory with some directives for a specific configuration.
> >
> > Example, in python, there is the PYTHONPATH env and I would like to
> > override it when I enter in a specific directory (project). I think
> > it’s possible if we override the “cd” command because there is the
> > virtualfish package (for virtualenv).
> >
> > So, If you have an idea, could you give me the link to the solution ?
>
> There's quite a few implementations, but Justin Mayer's tackle repository
> includes a virtualhooks plugin which seems sane:
>
> https://github.com/justinmayer/tackle/tree/master/modules/virtualhooks
>
> You will need to install his tacklebox framework manager first:
>
> https://github.com/justinmayer/tacklebox
>
> David Adam
> zanc...@ucc.gu.uwa.edu.au
>
> ------------------------------------------------------------------------------
> BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
> Develop your own process in accordance with the BPMN 2 standard
> Learn Process modeling best practices with Bonita BPM through live
> exercises
> http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
> event?utm_
> source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
>
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users