Skip to content

Commit

Permalink
Merge pull request #65 from jscheid/exec-just
Browse files Browse the repository at this point in the history
Use `exec` to run just in shell
  • Loading branch information
psibi authored Nov 15, 2024
2 parents 4893ebc + d4897c5 commit 3b9b1a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions justl.el
Original file line number Diff line number Diff line change
Expand Up @@ -576,10 +576,10 @@ is not executed."
(let* ((recipe-name (justl--recipe-name recipe))
(recipe-args (justl--recipe-args recipe))
(transient-args (transient-args 'justl-help-popup))
(args-list (cons justl-executable
(append transient-args
(list recipe-name)
(mapcar 'justl--arg-default recipe-args)))))
(args-list (append (list "exec" justl-executable)
transient-args
(list recipe-name)
(mapcar 'justl--arg-default recipe-args))))
(vterm-insert (string-join args-list " ")))
(unless no-send
(vterm-send-return))))
Expand Down

0 comments on commit 3b9b1a7

Please sign in to comment.