From fa7faa1315d10fe212e70204d3d08d97505fbd6d Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Tue, 19 Nov 2024 18:00:47 +0100 Subject: [PATCH] move nvim tmp dir to var --- dot_config/fish/private_functions/update_nvim_theme.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_config/fish/private_functions/update_nvim_theme.fish b/dot_config/fish/private_functions/update_nvim_theme.fish index a0e2f6f..f69df3d 100644 --- a/dot_config/fish/private_functions/update_nvim_theme.fish +++ b/dot_config/fish/private_functions/update_nvim_theme.fish @@ -1,5 +1,5 @@ function update_nvim_theme --description 'Update neovim theme with light/dark mode' --argument theme -for addr in /var/folders/7r/l55lwv013hl_g8gc971k7kgw0000gn/T/nvim.gaugendre/**/* +for addr in $NVIM_TMP_DIR/**/* nvim --server $addr --remote-send ":set background=$theme " end end