From 7901a657e288e15f63aca9a9c6979e4265ea0739 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Fri, 7 Apr 2023 15:38:29 +0200 Subject: [PATCH] rash: add neovim alias --- .config/rash/rashrc.rkt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/rash/rashrc.rkt b/.config/rash/rashrc.rkt index 95e0553..cb2a2fb 100644 --- a/.config/rash/rashrc.rkt +++ b/.config/rash/rashrc.rkt @@ -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)