Skip to content

Commit

Permalink
fix method documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
isamert committed Mar 13, 2019
1 parent 078ada9 commit 39b565d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,16 @@ Another example:
#:program "sxiv %f"
#:view "sxiv %f"
#:edit "gimp %f")
;; As you can see, `#:view` and `#:program` are just the same thing,
;; you can use `#:view #t` to avoid duplication, so this means the
;; same thing with above:
(assoc
#:pattern "image/.*"
#:program "sxiv %f"
#:view #t
#:edit "gimp %f")
```

Now you can use `jaro --method=view path/to/file` or `jaro --method=edit path/to/file` to open an image. You can define aliases in your shell for these different opening modes, like for bash:
Expand Down

0 comments on commit 39b565d

Please sign in to comment.