aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/fish/functions/load_dots.fish2
1 files changed, 1 insertions, 1 deletions
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