When I was linking the whole .emacs.d directory all of the junk that gets put into that directory was getting put into the dotfiles repo and accessible by puppet. This was slowing things down quite alot. Now I am only linking the directories I need into the .emacs.d
20 lines
429 B
Puppet
20 lines
429 B
Puppet
class core::emacs {
|
|
file { "${user_home}/.emacs.d":
|
|
ensure => 'directory',
|
|
}
|
|
|
|
file { "${user_home}/.emacs.d/src":
|
|
ensure => 'link',
|
|
target => find_file('core/emacs/src'),
|
|
}
|
|
|
|
file { "${user_home}/.emacs.d/snippets":
|
|
ensure => 'link',
|
|
target => find_file('core/emacs/snippets'),
|
|
}
|
|
|
|
file { "${user_home}/.emacs.d/init.el":
|
|
ensure => 'link',
|
|
target => find_file('core/emacs/init.el'),
|
|
}
|
|
}
|