summaryrefslogtreecommitdiff
path: root/bin/.local
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2019-10-01 12:03:02 +0100
committerUrbain Vaes <urbain@vaes.uk>2019-10-01 12:23:29 +0100
commit45ceae0de2b01480ab2502c4935c62aa681789e9 (patch)
tree6c15e021eed4e986b67210f07dd666d0b0aab356 /bin/.local
parent661e17e2180890fe607927ef2d22f24e43d8d4d1 (diff)
Add script to attach file
Diffstat (limited to 'bin/.local')
-rwxr-xr-xbin/.local/bin/mutt_attach7
1 files changed, 7 insertions, 0 deletions
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