/bin/sh: line 2: `BASH_FUNC_ttr%%': not a valid identifier

Barrie Stott zen146410 at zen.co.uk
Thu Oct 9 13:46:23 PDT 2014


On 9 Oct 2014, at 21:10, Brandon Allbery wrote:

> On Thu, Oct 9, 2014 at 4:06 PM, Barrie Stott <zen146410 at zen.co.uk> wrote:
> function ttr()
> 
> You should use wither "ttr()" or "function ttr", not both. It's replacing () with %% and then tripping over it later (possibly it accepts it when defined for some reason, but it still knows it's illegal).
> 
> -- 
> brandon s allbery kf8nh                               sine nomine associates
> allbery.b at gmail.com                                  ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

I've replaced functions like "function asdf() ..." by "function asdf ..." throughout, run ". ~/.bashrc" but typing "mvim" continues to give the error. Also all the old versions of the functions have been present for well over 6 months so I reckon something else is involved.

Barrie.


More information about the macports-users mailing list