mirror of https://github.com/helix-editor/helix
update shell command in docs
parent
773ae95cc7
commit
25a8f033de
2
STEEL.md
2
STEEL.md
|
@ -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…
Reference in New Issue