Also use default emacs configuration for root user
This commit is contained in:
parent
a3d7995680
commit
0239cd6bf2
|
@ -1188,6 +1188,7 @@ function install_editor {
|
||||||
echo '' >> /home/$MY_USERNAME/.emacs
|
echo '' >> /home/$MY_USERNAME/.emacs
|
||||||
echo "(require 'epa)" >> /home/$MY_USERNAME/.emacs
|
echo "(require 'epa)" >> /home/$MY_USERNAME/.emacs
|
||||||
echo '(epa-file-enable)' >> /home/$MY_USERNAME/.emacs
|
echo '(epa-file-enable)' >> /home/$MY_USERNAME/.emacs
|
||||||
|
cp /home/$MY_USERNAME/.emacs /root/.emacs
|
||||||
chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.emacs
|
chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.emacs
|
||||||
|
|
||||||
echo 'install_editor' >> $COMPLETION_FILE
|
echo 'install_editor' >> $COMPLETION_FILE
|
||||||
|
|
Loading…
Reference in New Issue