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')() + )