Emacs mutt config part of skeleton
This commit is contained in:
parent
e316d747e4
commit
70886e08e8
|
@ -6288,7 +6288,7 @@ function create_procmail {
|
|||
|
||||
if [ ! -f /etc/skel/.procmailrc ]; then
|
||||
cp /home/$MY_USERNAME/.procmailrc /etc/skel/.procmailrc
|
||||
chown roor:root /etc/skel/.procmailrc
|
||||
chown root:root /etc/skel/.procmailrc
|
||||
fi
|
||||
|
||||
echo 'create_procmail' >> $COMPLETION_FILE
|
||||
|
@ -7135,6 +7135,12 @@ function email_client {
|
|||
echo "(add-hook 'text-mode-hook 'turn-on-auto-fill)" >> /home/$MY_USERNAME/.emacs-mutt
|
||||
echo "(setq-default auto-fill-function 'do-auto-fill)" >> /home/$MY_USERNAME/.emacs-mutt
|
||||
|
||||
# add the emacs mutt configuration to the user profile skeleton
|
||||
if [ ! -f /etc/skel/.emacs-mutt ]; then
|
||||
cp /home/$MY_USERNAME/.emacs-mutt /etc/skel/.emacs-mutt
|
||||
chown root:root /etc/skel/.emacs-mutt
|
||||
fi
|
||||
|
||||
cp -f /etc/Muttrc /home/$MY_USERNAME/.muttrc
|
||||
touch /home/$MY_USERNAME/.mutt-alias
|
||||
chown $MY_USERNAME:$MY_USERNAME /home/$MY_USERNAME/.emacs-mutt
|
||||
|
|
Loading…
Reference in New Issue