summaryrefslogtreecommitdiffstats
path: root/roles/edit
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2022-11-09 09:24:54 -0500
committerSacha Chua <sacha@sachachua.com>2022-11-09 09:24:54 -0500
commit921b613ed8af5f87c247d92406f9ff4e42a5aed7 (patch)
tree1109d78ffd25a61a2f5cfc08e8d5d8b0d6834df7 /roles/edit
parentc2d647a3cb3a6d456684bcdce327954214352959 (diff)
downloademacsconf-ansible-921b613ed8af5f87c247d92406f9ff4e42a5aed7.tar.xz
emacsconf-ansible-921b613ed8af5f87c247d92406f9ff4e42a5aed7.zip
Add kitty, kitty-term
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