Use pushd/popd

This commit is contained in:
exu 2024-10-15 19:18:04 +02:00
parent f2db5f419d
commit 7eb018f3de

View File

@ -1,7 +1,8 @@
# update config # update config
function upconf function upconf
cd (mktemp -d) pushd (mktemp -d)
git clone https://gitea.exu.li/exu/configs.git git clone https://gitea.exu.li/exu/configs.git
cd configs cd configs
just config just config
popd
end end