From 94a357c6624953073fd7a06f4f16c9311ecebc50 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Wed, 31 Jul 2024 15:00:19 -0400 Subject: [PATCH] nu: gp pgh alias ideally would be an abbreviation like fish but nu doesn't have that --- src/.config/nushell/config.nu | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/.config/nushell/config.nu b/src/.config/nushell/config.nu index f3ad571..86de15e 100644 --- a/src/.config/nushell/config.nu +++ b/src/.config/nushell/config.nu @@ -4,7 +4,9 @@ alias gs = git status alias gp = git push -alias pgh = git push gh +def `gp pgh` [] { + git push; git push gh +} alias ga = git add alias gc = git commit alias gcs = git commit -S