Place to install library of shell functions

Chris Rees utisoft at gmail.com
Tue Apr 5 18:08:47 UTC 2011


2011/4/5 Jerry McAllister <jerrymc at msu.edu>:
> On Tue, Apr 05, 2011 at 05:23:47PM +0200, Michael Grünewald wrote:
>
>> Dear FreeBSD users,
>>
>>
>> today I come to you with what seems to be somehow pedantic question:
>> where is the best place to install libraries of shell functions.
>>
>> I read hier(4) carefully and it seems the correct place for this would
>> be somewhere under `/usr/local/share':
>>
>>                 share/    architecture-independent files
>
> I would go with /usr/local/lib.
>

I'd rather agree with the OP; shell functions are arch-independent,
and are DATADIR suited IMO.

Chris


More information about the freebsd-questions mailing list