diff --git a/init.zsh b/init.zsh index a4b08a7..54d0054 100644 --- a/init.zsh +++ b/init.zsh @@ -99,7 +99,7 @@ elif [[ -v INSIDE_EMACS ]]; then alias e='emacsclient ' alias emacs='emacsclient ' alias n='emacsclient ' -elif cmd_exists distrobox-host-exec; then +elif [[ -v DISTROBOX_ENTER_PATH ]]; then export EDITOR='distrobox-host-exec emacsclient -a nvim -c' alias emacs='distrobox-host-exec emacsclient -a nvim -c ' alias n='emacs '