Use pushd/popd
This commit is contained in:
parent
f2db5f419d
commit
7eb018f3de
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user