Browse Source

Also use default emacs configuration for root user

Bob Mottram 10 years ago
parent
commit
0239cd6bf2
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      install-freedombone.sh

+ 1
- 0
install-freedombone.sh View File

@@ -1188,6 +1188,7 @@ function install_editor {
1188 1188
   echo '' >> /home/$MY_USERNAME/.emacs
1189 1189
   echo "(require 'epa)" >> /home/$MY_USERNAME/.emacs
1190 1190
   echo '(epa-file-enable)' >> /home/$MY_USERNAME/.emacs
1191
+  cp /home/$MY_USERNAME/.emacs /root/.emacs
1191 1192
   chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.emacs
1192 1193
 
1193 1194
   echo 'install_editor' >> $COMPLETION_FILE