From d96450142edee081533d802626f311bd3c47d336 Mon Sep 17 00:00:00 2001 From: Paul Barton <28630076+paulbarton90@users.noreply.github.com> Date: Sat, 23 Aug 2025 00:27:30 +0100 Subject: fix: expand path for daemon.socket_path (#2870) This parses the daemon.socket_path config item to allow it to be set to something like `"${XDG_RUNTIME_DIR}/atuin.sock"`. Fixes https://github.com/atuinsh/atuin/issues/2490. ## Checks - [x] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [x] I have checked that there are no existing pull requests for the same thing --- crates/atuin-client/src/settings.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/atuin-client/src/settings.rs b/crates/atuin-client/src/settings.rs index 87fe8d32..5c8000ba 100644 --- a/crates/atuin-client/src/settings.rs +++ b/crates/atuin-client/src/settings.rs @@ -874,6 +874,7 @@ impl Settings { settings.record_store_path = Self::expand_path(settings.record_store_path)?; settings.key_path = Self::expand_path(settings.key_path)?; settings.session_path = Self::expand_path(settings.session_path)?; + settings.daemon.socket_path = Self::expand_path(settings.daemon.socket_path)?; Ok(settings) } -- cgit v1.3.1