0

Very noob question, but couldn't find a decent answer.

Working with a command line plugin that requires adding AppleScript to my path, but honestly not sure what the right format is.

I know where the script is on my system.

$ which osascript

/usr/bin/osascript

But I'm not sure if this is how I would export it to my Path.

export PATH=/usr/bin:$PATH

Any ideas?

mhartington
  • 6,905
  • 4
  • 40
  • 75

1 Answers1

1

Yes, that syntax is correct.

Also, it's likely that /usr/bin is already in $PATH by default; that's how it is on most Unix systems, including Macs.

bgoldst
  • 34,190
  • 6
  • 38
  • 64