summary refs log tree commit diff stats
path: root/hooks/post-up/emacs
diff options
context:
space:
mode:
authorAlan Pearce2016-07-07 16:23:16 +0200
committerAlan Pearce2016-07-07 16:23:16 +0200
commiteaff8a793480afc2e3f9f27d1c0c6280091c9fdb (patch)
treea01c7d4f97449ad725399e794817fa48a8bc654d /hooks/post-up/emacs
parentea6f0d0b28a6a4a31954e463077715580fc53145 (diff)
downloadnixfiles-eaff8a793480afc2e3f9f27d1c0c6280091c9fdb.tar.lz
nixfiles-eaff8a793480afc2e3f9f27d1c0c6280091c9fdb.tar.zst
nixfiles-eaff8a793480afc2e3f9f27d1c0c6280091c9fdb.zip
Fix init.el being generated in dotfiles
Diffstat (limited to 'hooks/post-up/emacs')
-rwxr-xr-xhooks/post-up/emacs1
1 files changed, 1 insertions, 0 deletions
diff --git a/hooks/post-up/emacs b/hooks/post-up/emacs
index 1cc19f9f..aad74be7 100755
--- a/hooks/post-up/emacs
+++ b/hooks/post-up/emacs
@@ -4,6 +4,7 @@ if [[ -s $commands[emacs] ]]
 then
 	pushd ~/.emacs.d
 	emacs --batch --eval "(progn
+(setq vc-follow-symlinks nil)
 (find-file \"init.org\")
 (require 'ob-tangle)
 (org-babel-tangle nil \"init.el\")