Stephan Beal wrote:
> --===============0473655165==
> Content-Type: multipart/alternative; boundary=047d7ba972dac592b704fb40f859
>
> --047d7ba972dac592b704fb40f859
> Content-Type: text/plain; charset=UTF-8
>
> On Sat, Jun 7, 2014 at 5:18 PM, Will Parsons <[email protected]> wrote:
>
>> Or you should be able to simply set the environment variable:
>>
>> $ USER=philip_bennefall
>>
>> and then you don't need to worry about the -A or --user options.
>>
>
> That would work, but note that many programs use $USER to create strings
> (paths) and such, so reassigning it is generally not a good idea. However...
>
> export FOSSIL_USER=philip_bennefall
>
> should do the trick without endangering any other apps.

I didn't know about that one.  Whether reassigning USER is dangerous
or not depends I think on how one works.  I generally work under X and
would typically call up another terminal window for my fossil
session.  Since doing a one-time assignment of USER is transitory (as
long as one doesn't add the assignment to something like .profile or
.cshrc), and is only needed for the initial repository setup, there's
really no danger.  (But, of course, that depends on how I work - as
they say, YMMV.)

-- 
Will

_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to