diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-04-16 02:24:33 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-04-16 02:27:20 -0400 |
commit | 308191e23df1b55515df0d1e6b359535a201022e (patch) | |
tree | 78341003c3f224391a57a3d822ed8b914c3eed08 /bin | |
parent | e85a8bb14b4976402b6f88c340a0c6968a9c2579 (diff) | |
download | conf-308191e23df1b55515df0d1e6b359535a201022e.tar.gz conf-308191e23df1b55515df0d1e6b359535a201022e.zip |
add tmux keybinding to open the most recent url in a browser
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/find-urls | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/find-urls b/bin/find-urls new file mode 100755 index 0000000..e41363a --- /dev/null +++ b/bin/find-urls @@ -0,0 +1,8 @@ +#!/usr/bin/env perl +use strict; +use warnings; +use 5.014; + +use URL::Search 'extract_urls'; + +say for extract_urls(do { local $/; <> }); |