diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2017-06-03 01:45:44 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2017-06-03 01:45:44 +0200 |
commit | 9df0659f436439d7a30d3dd0ffe41fad7e216a9c (patch) | |
tree | cdb560c00afbc5719668ad6a516b9c02535c0ab8 | |
parent | dfe9965de98427d26259060233ac3d36d176ed66 (diff) | |
download | dotfiles-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-x | mutt/tiny.pl | 2 |
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); } |