From 3de01f5464e514956d5180f66dfbc9a796baffcc Mon Sep 17 00:00:00 2001 From: Phil Date: Fri, 23 Aug 2024 13:34:48 -0600 Subject: [PATCH] added atuin dotfile config and bat stuff --- roles/docker/tasks/shell.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/roles/docker/tasks/shell.yml b/roles/docker/tasks/shell.yml index 137a986..4323d07 100644 --- a/roles/docker/tasks/shell.yml +++ b/roles/docker/tasks/shell.yml @@ -25,3 +25,22 @@ become: true become_user: "{{ ansible_user }}" +- name: setup dotfile sync + ansible.builtin.blockinfile: + path: "/home/{{ ansible_user }}/.config/atuin/config.toml" + block: | + [dotfiles] + enabled = true + marker: "" + +- name: Install bat + apt: + name: bat + state: latest + update_cache: true + +- name: Create symlink for batcat + ansible.builtin.file: + src: /usr/bin/batcat + dest: "{{ ansible_env.HOME }}/.local/bin/bat" + state: link \ No newline at end of file