move nvim tmp dir to var

This commit is contained in:
Gabriel Augendre 2024-11-19 18:00:47 +01:00
parent 4241a7002b
commit fa7faa1315

View file

@ -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 <cr>"
end
end