Wiki error?


#1

@JMichaelTX - I think there’s a couple of errors on this Wiki page.

I think the following should be changed:

  • ENVPATH --> ENV_PATH
  • ENVPERL5LIB --> ENV_PERL5LIB

I’d change it myself, but I wanted to run it by you first. What do you think?

Thanks.


#2

Dan, you may be right, but I don’t know for sure.
I have not touched this section of the Troubleshooting page.
I think we need either @peternlewis or @ccstone to weigh in on this.

From that section:

As of Keyboard Maestro 7, you can set your PATH and other environment variables (such as PERL5LIB) using the Keyboard Maestro variable ENVPATH (or ENVPERL5LIB or whatever).


#3

Hey Guys,

Test it for yourself.

Set Keyboard Maestro variable “ENVPATH” to:

/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

Then run:

echo $PATH

From an Execute a Shell Script action, and display the result in a window.

In case you were on pins and needles about this the answer is – it does NOT work.

The correct syntax is: ENV_PATH.

The troubleshooting page SOURCE is correct:

“As of Keyboard Maestro 7, you can set your PATH and other environment variables (such as PERL5LIB) using the Keyboard Maestro variable ENV_PATH (or ENV_PERL5LIB or whatever).”

But the wiki is rendering the text between the underscores as italic.

I have fixed this on the troubleshooting page.

-Chris


#4

Yes, as Chris notes, the issue is that two underscores act as italics indicators on the wiki (just like two asterisks do in Markdown). Thanks all.