From b9549ce797d3a09ba5d9ef35c7d288e5894bebbc Mon Sep 17 00:00:00 2001 From: Szymon P Date: Fri, 20 Feb 2026 17:52:22 +0100 Subject: [PATCH] update: modules/fish.nix --- modules/fish.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/fish.nix b/modules/fish.nix index a172436..92b3496 100644 --- a/modules/fish.nix +++ b/modules/fish.nix @@ -33,6 +33,7 @@ if test -n "$file" set -l md5_before (md5sum $file) + pushd $config_dir nvim $file @@ -42,14 +43,13 @@ set -l rel_file (realpath --relative-to=$config_dir $file) if home-manager switch -b backup - pushd $config_dir git add -A set commit_msg "update: $rel_file" git commit -m "$commit_msg" git push - popd end - + + popd else echo "No changes made" end @@ -59,7 +59,7 @@ }; ls = { - body = "eza --long --icons --all --group-directories-first --git $argv"; + body = "eza --long --icons --group-directories-first --git $argv"; }; }; };