From c3fdfa6ac8758893827d198553d5030bb258d376 Mon Sep 17 00:00:00 2001 From: FivePixels Date: Sat, 28 Jan 2023 18:53:16 -0600 Subject: Move assume unchanged to top of git load --- .config/fish/functions/load_dots.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/fish/functions/load_dots.fish b/.config/fish/functions/load_dots.fish index e3e150f..e9df84d 100644 --- a/.config/fish/functions/load_dots.fish +++ b/.config/fish/functions/load_dots.fish @@ -19,6 +19,7 @@ function load_dots end function load_git + git update-index --assume-unchanged .env envsource ~/.env | while read -l env_var switch $env_var case "GIT_*" @@ -27,6 +28,5 @@ function load_git git config --global $git_config_key $$env_var end end - git update-index --assume-unchanged .env cat ~/.gitconfig end -- cgit v1.2.3