From 53f8a8050cba7f15638db8332c8dc00dc5433f9f Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Mon, 26 Feb 2018 11:59:45 +0100 Subject: [PATCH] use patched version of alot --- config/alot/config | 2 ++ local/bin/alot | 12 ++++++++++++ 2 files changed, 14 insertions(+) create mode 100755 local/bin/alot diff --git a/config/alot/config b/config/alot/config index 7a9ae3d..66a6af4 100644 --- a/config/alot/config +++ b/config/alot/config @@ -4,6 +4,7 @@ periodic_hook_frequency = 60 attachment_prefix = /data/temporary prefer_plaintext = True +editor_cmd = "st -e vis" [accounts] @@ -55,3 +56,4 @@ prefer_plaintext = True [[thread]] a = tag archived ; fold A = untag archived ; unfold + n = nextctype diff --git a/local/bin/alot b/local/bin/alot new file mode 100755 index 0000000..4ae2a5d --- /dev/null +++ b/local/bin/alot @@ -0,0 +1,12 @@ +#!/usr/bin/python2 +# EASY-INSTALL-ENTRY-SCRIPT: 'alot==0.7.0.dev0','console_scripts','alot' +__requires__ = 'alot==0.7.0.dev0' +import re +import sys +from pkg_resources import load_entry_point + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit( + load_entry_point('alot==0.7.0.dev0', 'console_scripts', 'alot')() + )