Use a separate Emacs process for sudoediting files
This commit is contained in:
parent
ba480ea008
commit
c6f8f56587
1 changed files with 1 additions and 0 deletions
1
.profile
1
.profile
|
|
@ -36,6 +36,7 @@ if [ -d "$(systemd-path user-state-private)"/git-sync ] ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
umask 0007
|
umask 0007
|
||||||
|
export SUDO_EDITOR="/usr/local/bin/emacs --no-init-file --no-splash --no-window-system"
|
||||||
export EDITOR="emacsclient"
|
export EDITOR="emacsclient"
|
||||||
export VISUAL="emacsclient"
|
export VISUAL="emacsclient"
|
||||||
export GTK_IM_MODULE="fcitx"
|
export GTK_IM_MODULE="fcitx"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue