Skip to content

Commit

Permalink
fix: update regex to detect configs correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
dpassen authored and eki3z committed Oct 17, 2024
1 parent 20179a5 commit 4394ae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mise.el
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ command arguments to `mise'"
(save-match-data
(let ((pos 0)
matches)
(while (string-match "\"\\(.+\\)\"" output pos)
(while (string-match "mise::config config: \\(.+\\)" output pos)
(push (match-string 1 output) matches)
(setq pos (match-end 0)))
(-map #'expand-file-name (reverse matches))))))
Expand Down

0 comments on commit 4394ae3

Please sign in to comment.