D--n!

My fault: I had created a function named ag in rcmain (my first try
involved a function and writing :ag something to test how to call rc
functions from within acme and get this search feature working.) I had
completely forgotten until a few seconds ago: removing it makes it
work as expected. Well, lesson learnt: the error is usually the users
fault :D

Well, if you want to have ag: within your acme, change the nag script to read:

#/bin/bash
ag  "$1" $2 --nogroup --nocolor | plumb -i -d edit -a 'action=showdata
filename='$2'/ag/'$1

This can also be written as just a rule within "plumbing," no need for
an auxiliary shell script but since now it is working I'd rather not
touch it in a while ;)

Regards,

Rubem

Reply via email to