From 465870be565d182be43465a8310cbaa8746e2b39 Mon Sep 17 00:00:00 2001 From: Bit Borealis Date: Thu, 31 Aug 2023 23:13:03 +0000 Subject: [PATCH] finally fixed gacp -_- --- home.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index 18e0970..b727a5e 100644 --- a/home.nix +++ b/home.nix @@ -288,8 +288,9 @@ cd $hm_before_commit ''; gacp = '' git diff +set gacp_read $(read -P 'continue ? [Y/n] ') set gacp_n n -if [ "$(read -P 'continue ? [Y/n] ')" != gacp_n ] +if [ "$gacp_read" != $gacp_n ] git add . git commit git push