From 42ae57f18613f923368470a8388393ad63cb0cc8 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 23 Jun 2020 11:46:02 +0100 Subject: [PATCH] Add .mailcap to auto view HTML mail in lynx --- roles/home-cli/files/mailcap | 1 + roles/home-cli/tasks/dotfiles.yml | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 roles/home-cli/files/mailcap diff --git a/roles/home-cli/files/mailcap b/roles/home-cli/files/mailcap new file mode 100644 index 0000000..50d0a90 --- /dev/null +++ b/roles/home-cli/files/mailcap @@ -0,0 +1 @@ +text/html; lynx -dump -stdin; copiousoutput diff --git a/roles/home-cli/tasks/dotfiles.yml b/roles/home-cli/tasks/dotfiles.yml index 819e477..d12b638 100644 --- a/roles/home-cli/tasks/dotfiles.yml +++ b/roles/home-cli/tasks/dotfiles.yml @@ -23,3 +23,7 @@ copy: src: dput.cf dest: "{{ ansible_env.HOME }}/.dput.cf" +- name: Copy .mailcap + copy: + src: mailcap + dest: "{{ ansible_env.HOME }}/.mailcap"