Use pushd/popd
This commit is contained in:
parent
f2db5f419d
commit
7eb018f3de
@ -1,7 +1,8 @@
|
||||
# update config
|
||||
function upconf
|
||||
cd (mktemp -d)
|
||||
pushd (mktemp -d)
|
||||
git clone https://gitea.exu.li/exu/configs.git
|
||||
cd configs
|
||||
just config
|
||||
popd
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user