summaryrefslogtreecommitdiffstats
path: root/roles/edit/tasks
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--roles/edit/tasks/main.yml15
1 files changed, 14 insertions, 1 deletions
diff --git a/roles/edit/tasks/main.yml b/roles/edit/tasks/main.yml
index f864b23..9419f92 100644
--- a/roles/edit/tasks/main.yml
+++ b/roles/edit/tasks/main.yml
@@ -14,7 +14,20 @@
(when packages
(package-refresh-contents)
(mapc #'package-install packages))))"
-
+- name: Add alias for Emacsconf
+ lineinfile:
+ line: alias emacsconf="emacsclient -c -a emacs"
+ dest: "~{{ emacsconf_user }}/.bashrc"
+ owner: "{{ emacsconf_user }}"
+ group: "{{ emacsconf_group }}"
+ create: yes
+- name: Set timezone
+ lineinfile:
+ line: export TZ={{ emacsconf_timezone }}
+ dest: "~{{ emacsconf_user }}/.bashrc"
+ owner: "{{ emacsconf_user }}"
+ group: "{{ emacsconf_group }}"
+ create: yes
- name: Set up Emacs configuration for interactive editing
template:
src: emacsconf-edit.el