On 10/15/07, Martin Bähr <[EMAIL PROTECTED]> wrote:
> On Mon, Oct 15, 2007 at 02:43:28PM +0200, Axel Liljencrantz wrote:
> > It would be possible to add a switch to read another startup file as
> > well, but that wouldn't really solve the problem, since one would also
> > have to update the fish_function_path to make sure fish autoloads the
> > new functions, update the PATH variable to find all the other commands
> > included with fish, etc..
>
> i don't think this needs to be easy. as long as it is possible then
> someone who does frequent testing without installing may come up with a
> script that does all the work.
>

True enough. As far as I can see, this should be pretty easy. So, the
question is, should the user-specified file replace none, some or all
of the standard files, and if none of the default files should be
dropped, should the user specified file be loaded first or last?

I'd guess that the best option is to replace all default files with
the user specified one, since the other behaviours can be emulated by
sourcing the other files. This is also how bash behaves when the
--rcfile option is used, though that sounds like a bad name to use for
fish, since the 'rc' suffix is not used in fish. Perhaps
'--conf-file'?

Axel

> greetings, martin.
> --
> cooperative communication with sTeam      -     caudium, pike, roxen and unix
> offering: programming, training and administration   -  anywhere in the world
> --
> pike programmer   working in new zealand        open-steam.org|webhaven.co.nz
> unix system-      bahai.or.at                        iaeste.(tuwien.ac|or).at
> administrator     (caudium|gotpike).org                          is.schon.org
> Martin Bähr       http://www.iaeste.or.at/~mbaehr/
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to