diff --git a/chezmoi.roots/_home/private_dot_config/sz.env/980_atuin_daemon.env b/chezmoi.roots/_home/private_dot_config/sz.env/980_atuin_daemon.env index 42b2a42..a9f35f0 100644 --- a/chezmoi.roots/_home/private_dot_config/sz.env/980_atuin_daemon.env +++ b/chezmoi.roots/_home/private_dot_config/sz.env/980_atuin_daemon.env @@ -10,7 +10,7 @@ if is_cmd atuin; then # communicate with the running daemon rather than attempting direct database access. # The setup-atuin-daemon.sh script should be run on ZFS systems to create and # start the systemd service for the daemon. - if pgrep -f "atuin daemon" > /dev/null; then + if pgrep -f "atuin daemon" > /dev/null && [ -d "$HOME/.config/atuin/with-daemon" ]; then export ATUIN_CONFIG_DIR="$HOME/.config/atuin/with-daemon" fi