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