update shell command in docs

pull/8675/merge^2
mattwparas 5 months ago
parent 773ae95cc7
commit 25a8f033de

@ -48,7 +48,7 @@ to be used as typed commands. For example:
(define (shell cx . args) (define (shell cx . args)
;; Replace the % with the current file ;; Replace the % with the current file
(define expanded (map (lambda (x) (if (equal? x "%") (current-path cx) x)) args)) (define expanded (map (lambda (x) (if (equal? x "%") (current-path cx) x)) args))
(helix.run-shell-command expanded)) (apply helix.run-shell-command expanded))
;;@doc ;;@doc
;; Adds the current file to git ;; Adds the current file to git

Loading…
Cancel
Save