aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFivePixels <dylan.bolger00@gmail.com>2023-01-28 18:53:16 -0600
committerFivePixels <dylan.bolger00@gmail.com>2023-01-28 18:53:16 -0600
commitc3fdfa6ac8758893827d198553d5030bb258d376 (patch)
tree9f615722451da6b4d845d49f8de2d5bfe0b2ec4a
parent277e5660fcedfcfa986b856c4085e0bf1824e0ae (diff)
downloaddots-c3fdfa6ac8758893827d198553d5030bb258d376.tar.xz
dots-c3fdfa6ac8758893827d198553d5030bb258d376.zip
Move assume unchanged to top of git load
-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