From bb04238f27fd0fe8280c81dd7638ff793a180afc Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Wed, 7 Jan 2026 21:14:26 -0600 Subject: [PATCH] fix gcamp and gcmp --- flakes/common/nix_modules/git/gcpropose.func.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/flakes/common/nix_modules/git/gcpropose.func.sh b/flakes/common/nix_modules/git/gcpropose.func.sh index 2c3ff0f0..6dc379dc 100644 --- a/flakes/common/nix_modules/git/gcpropose.func.sh +++ b/flakes/common/nix_modules/git/gcpropose.func.sh @@ -1,9 +1,11 @@ gcamp() { - VISUAL=vi EDITOR=vi git commit -a -m "$(gcpropose -a | vipe)" + export VISUAL=vi EDITOR=vi + git commit -a -m "$(gcpropose -a | vipe)" } gcmp() { - VISUAL=vi EDITOR=vi git commit -m "$(gcpropose | vipe)" + export VISUAL=vi EDITOR=vi + git commit -m "$(gcpropose | vipe)" } gcpropose() {