dutzi / tamper

Devtools extension, lets you locally edit files served from the web (based on mitmproxy).
http://dutzi.github.io/tamper
MIT License
394 stars 36 forks source link

Unable to launch editor #14

Closed seyDoggy closed 10 years ago

seyDoggy commented 10 years ago

On a OS X 10.10.1 I am unable to open the saved resources in an editor. I've tried the following, non of which seem to work:

mvim $1
vim $1
subl $1
/usr/local/bin/mvim $1
/usr/local/bin/vim $1
/usr/local/bin/subl $1
dutzi commented 10 years ago

Hey @seyDoggy,

Oops. Looks like I didn't update the tooltip for "Editor Command Line" field. You should just write subl or vim, without the $1.

seyDoggy commented 10 years ago

OK that worked, but to be clear, on a Mac at least, the application path has to be specific, i.e. /usr/local/bin/subl

dutzi commented 10 years ago

Mine was in the PATH, I assumed everyone's was, but you're right, it's there in 893bd0e926828ce39664e56a7bf463d0d18cda4a.

Thanks