From e3819ca7898dc8117da4e82ddeefb6b26bc98168 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Fri, 12 Jul 2024 16:41:11 +0200 Subject: [PATCH] nushell: add git aliases --- .config/nushell/conf.d/99-git.nu.cgt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .config/nushell/conf.d/99-git.nu.cgt diff --git a/.config/nushell/conf.d/99-git.nu.cgt b/.config/nushell/conf.d/99-git.nu.cgt new file mode 100644 index 0000000..e96ce9d --- /dev/null +++ b/.config/nushell/conf.d/99-git.nu.cgt @@ -0,0 +1,17 @@ + +def --wrapped "git <% new %>" [...rest] { + git <% old %> ...$rest +} + + +