doom: try to fix tmpdir creation

This commit is contained in:
Payas Relekar 2023-11-18 09:58:37 +05:30
parent 91b06019ff
commit e3aa823290

View file

@ -3,9 +3,7 @@ let
doombin = "/home/payas/.config/emacs/bin/doom";
doomtmp = "/home/payas/.config/emacs/.local/cache/tmp/auto-save/";
doomsync = ''
if [ ! -d "${doomtmp}" ]; then
mkdir -p ${doomtmp};
fi
mkdir -p ${doomtmp};
if [ -x "${doombin}" ]; then
timeout 100s ${doombin} sync;
fi