refactor(emacs): update folder structure to move melpa out of the repo
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
This commit is contained in:
parent
08335fba6a
commit
060fa3d5f9
1 changed files with 15 additions and 1 deletions
|
|
@ -1,6 +1,20 @@
|
|||
class core::emacs {
|
||||
file { "${user_home}/.emacs.d":
|
||||
ensure => 'directory',
|
||||
}
|
||||
|
||||
file { "${user_home}/.emacs.d/src":
|
||||
ensure => 'link',
|
||||
target => find_file('core/emacs'),
|
||||
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'),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue