mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-24 04:43:59 +01:00
rash: add neovim alias
This commit is contained in:
parent
0160dc4cb2
commit
7901a657e2
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue