Skip to content

Commit

Permalink
Merge pull request #4 from onestark/master
Browse files Browse the repository at this point in the history
feature: open gist URL in browser
  • Loading branch information
danielecook authored Aug 25, 2016
2 parents 33b01c3 + d343ec7 commit cca2435
Show file tree
Hide file tree
Showing 2 changed files with 261 additions and 54 deletions.
2 changes: 1 addition & 1 deletion gist.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def main(wf):
if lang == "" or f["language"] == lang:
wf.add_item(gist["description"],
filename + " | " + f["content"].replace("\n"," "),
arg=f["content"],
arg=gist["html_url"] + "@@@gist@@@" + f["content"],
copytext=gist["url"],
valid = True,
icon="icons/" + str(f["language"]) + ".png")
Expand Down
Loading

0 comments on commit cca2435

Please sign in to comment.