From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <542e1db3-cec0-453e-a991-ec6a3ad294b1@googlegroups.com> From: Mathieu Lonjaret Date: Wed, 3 Apr 2013 23:37:01 +0200 Message-ID: To: sergio@pertico.net, Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=047d7b15ad03b312bd04d97ba8e0 Subject: Re: [9fans] Use acme.rc with acme (p9p) Topicbox-Message-UUID: 3d3cc5c6-ead8-11e9-9d60-3106f5b1d025 --047d7b15ad03b312bd04d97ba8e0 Content-Type: text/plain; charset=UTF-8 if you start acme with your SHELL being $PLAN9/bin/rc, then the wins you'll open will run rc -l, which reads $HOME/lib/profile. So whatever functions you define in there will be known to your wins in acme. Not sure that answers your questions though. On 3 April 2013 22:06, Sergio Perticone wrote: > On Wed, Apr 3, 2013 at 12:39 PM, wrote: > >> I know that there should be a way to use the functions defined in >> acme.rc, but I cannot seem to figure out how to load it. Any help would be >> appreciated. >> > > dot: > > . $PLAN9/lib/acme.rc > newwindow > > >> >> Up to this point every time I've created new commands I've added them >> each as a separate command in my PATH which I don't care for. >> >> Thanks. >> >> > --047d7b15ad03b312bd04d97ba8e0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable if you start acme with your SHELL being $PLAN9/bin/rc, then the wins you= 9;ll open will run rc -l, which reads $HOME/lib/profile.
So whatever fu= nctions you define in there will be known to your wins in acme. Not sure th= at answers your questions though.

On 3 April 2013 22:06, Sergio Perticone <g4= ll0ws@gmail.com> wrote:
On Wed, Apr 3, 2013 at 12:39 PM, &= lt;dglmoore@gmail.c= om> wrote:
I know that there should be a way to use the= functions defined in acme.rc, but I cannot seem to figure out how to load = it. Any help would be appreciated.

dot:

. $PLAN9/lib= /acme.rc
newwindow
=C2=A0

Up to this point every time I've created new commands I've added th= em each as a separate command in my PATH which I don't care for.

Thanks.



--047d7b15ad03b312bd04d97ba8e0--