aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2017-06-03 01:45:44 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2017-06-03 01:45:44 +0200
commit9df0659f436439d7a30d3dd0ffe41fad7e216a9c (patch)
treecdb560c00afbc5719668ad6a516b9c02535c0ab8
parentdfe9965de98427d26259060233ac3d36d176ed66 (diff)
downloaddotfiles-9df0659f436439d7a30d3dd0ffe41fad7e216a9c.tar.xz
mutt/tiny.pl: don't shorten URLs shorter than 120 bytes
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rwxr-xr-xmutt/tiny.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/mutt/tiny.pl b/mutt/tiny.pl
index e33c472..087c539 100755
--- a/mutt/tiny.pl
+++ b/mutt/tiny.pl
@@ -11,7 +11,7 @@ $file = $ARGV[0];
@text = ();
# Only shorten URLs at least this length or more
-$tinyurltrigger = 40;
+$tinyurltrigger = 120;
# If we pass a 2nd argument, it means we want to force HTML check a 'text/plain' file
if(defined($ARGV[2])) { open(FP, $file); for(<FP>) { push(@text, $_); } close(FP); }