Fix last commit
This commit is contained in:
parent
b8c898b3cc
commit
c06a7bffee
3
init.zsh
3
init.zsh
@ -97,8 +97,9 @@ if [[ -v NVIM ]]; then
|
|||||||
alias e=nvr
|
alias e=nvr
|
||||||
alias emacs=nvr
|
alias emacs=nvr
|
||||||
elif [[ "${is_in_container}" == true ]]; then
|
elif [[ "${is_in_container}" == true ]]; then
|
||||||
[[ -z "${XDG_RUNTIME_DIR}" ]] && export XDG_RUNTIME_DIR="/run/user/${UID}"
|
|
||||||
if [[ -v INSIDE_EMACS ]]; then
|
if [[ -v INSIDE_EMACS ]]; then
|
||||||
|
[[ -z "${XDG_RUNTIME_DIR}" ]] && \
|
||||||
|
export XDG_RUNTIME_DIR="/run/user/${UID}"
|
||||||
export EDITOR='distrobox-host-exec emacsclient -a nvim '
|
export EDITOR='distrobox-host-exec emacsclient -a nvim '
|
||||||
alias emacs='distrobox-host-exec emacsclient -a nvim '
|
alias emacs='distrobox-host-exec emacsclient -a nvim '
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user