diff options
author | Marc Coquand <marc@mccd.space> | 2024-05-15 19:40:04 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-05-15 19:40:04 -0500 |
commit | 8aff6800c075677022d520c1cb374cf37badd34b (patch) | |
tree | d2fd9d3e87fc6a512bd75eed547ec2b811a4b46b /lib/grep.ml | |
parent | 664a8d8419f0376652709c71ff7e1e6fff5493f6 (diff) | |
download | stitch-8aff6800c075677022d520c1cb374cf37badd34b.tar.gz stitch-8aff6800c075677022d520c1cb374cf37badd34b.tar.bz2 stitch-8aff6800c075677022d520c1cb374cf37badd34b.zip |
Updates
Diffstat (limited to 'lib/grep.ml')
-rw-r--r-- | lib/grep.ml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/grep.ml b/lib/grep.ml index a801fd7..3140347 100644 --- a/lib/grep.ml +++ b/lib/grep.ml @@ -1,8 +1,5 @@ -let execution_directory = - Sys.getenv_opt "STICH_DIRECTORY" |> Option.value ~default:"/home/mccd/notes-example" - - -let grep_cmd = Sys.getenv_opt "STICH_GREP_CMD" |> Option.value ~default:"ugrep" +let execution_directory = Sys.getenv "STITCH_DIRECTORY" +let grep_cmd = Sys.getenv_opt "STICH_GREP_CMD" |> Option.value ~default:"grep" let tag_pattern = Sys.getenv_opt "STITCH_TAG_PATTERN" |> Option.value ~default:"\\:[a-z-]+\\:" |