summaryrefslogtreecommitdiffstats
path: root/roles/prerec/templates/update-emacsconf.sh
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-11-21 14:32:08 -0500
committerSacha Chua <sacha@sachachua.com>2022-11-21 14:32:08 -0500
commit4fe95f44f002a0399f8e31a93e9425edf40a9671 (patch)
tree1663b8ed53505d1d23d4e4b5a5d52c5b537000d2 /roles/prerec/templates/update-emacsconf.sh
parent4d1100b931a0d921883a66f857fd89999fb63a3e (diff)
downloademacsconf-ansible-4fe95f44f002a0399f8e31a93e9425edf40a9671.tar.xz
emacsconf-ansible-4fe95f44f002a0399f8e31a93e9425edf40a9671.zip
restreaming
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