From 45ceae0de2b01480ab2502c4935c62aa681789e9 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 1 Oct 2019 12:03:02 +0100 Subject: Add script to attach file --- bin/.local/bin/mutt_attach | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 bin/.local/bin/mutt_attach (limited to 'bin/.local') diff --git a/bin/.local/bin/mutt_attach b/bin/.local/bin/mutt_attach new file mode 100755 index 0000000..e5ddbad --- /dev/null +++ b/bin/.local/bin/mutt_attach @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +files=$(vifm "$HOME" --choose-files -) + +for file in $files; do + tmux send-keys -t email.0 "a$file " +done -- cgit v1.2.3