rash: add neovim alias

This commit is contained in:
LordMZTE 2023-04-07 15:38:29 +02:00
parent 0160dc4cb2
commit 7901a657e2
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -4,9 +4,13 @@
rash/private/rashrc-lib
readline/pread)
(provide nv)
(current-prompt-function
(λ (#:last-return-value retval)
(unless (void? retval)
(display ((current-rash-top-level-print-formatter) retval)))
(readline-prompt #{prompt show (if (exn:fail? retval) 1 0) insert |> port->bytes})))
(define-simple-pipeline-alias nv nvim)