From c06a7bffeea8732acbc0b610329a497cbf42ed5b Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Tue, 18 Feb 2025 06:25:44 -0800 Subject: [PATCH] Fix last commit --- init.zsh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.zsh b/init.zsh index 964dac1..b41c2d4 100644 --- a/init.zsh +++ b/init.zsh @@ -97,8 +97,9 @@ if [[ -v NVIM ]]; then alias e=nvr alias emacs=nvr elif [[ "${is_in_container}" == true ]]; then - [[ -z "${XDG_RUNTIME_DIR}" ]] && export XDG_RUNTIME_DIR="/run/user/${UID}" if [[ -v INSIDE_EMACS ]]; then + [[ -z "${XDG_RUNTIME_DIR}" ]] && \ + export XDG_RUNTIME_DIR="/run/user/${UID}" export EDITOR='distrobox-host-exec emacsclient -a nvim ' alias emacs='distrobox-host-exec emacsclient -a nvim ' else