summaryrefslogtreecommitdiffstats
path: root/roles/prerec/templates/update-emacsconf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'roles/prerec/templates/update-emacsconf.sh')
-rwxr-xr-xroles/prerec/templates/update-emacsconf.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/prerec/templates/update-emacsconf.sh b/roles/prerec/templates/update-emacsconf.sh
new file mode 100755
index 0000000..e01ebcf
--- /dev/null
+++ b/roles/prerec/templates/update-emacsconf.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+# {{ ansible_managed }}
+
+cd {{ emacsconf_el_dir }}
+git pull
+emacsclient --eval "(emacsconf-reload)" -a emacs