From 7eb018f3de754f8626260f05f1bac4f5a6757549 Mon Sep 17 00:00:00 2001 From: exu Date: Tue, 15 Oct 2024 19:18:04 +0200 Subject: [PATCH] Use pushd/popd --- roles/config/files/.config/fish/functions/upconf.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/config/files/.config/fish/functions/upconf.fish b/roles/config/files/.config/fish/functions/upconf.fish index 17a9726b..91d364e2 100644 --- a/roles/config/files/.config/fish/functions/upconf.fish +++ b/roles/config/files/.config/fish/functions/upconf.fish @@ -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