aboutsummaryrefslogtreecommitdiffstats
path: root/open_url.sh
blob: 143007af650295f82a43a46e74c6866ffc520614 (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/env bash

# Opens a URL in the local SSH client machine's browser
#
# Irssi openurl.pl configuration:
#   /set openurl_app_http /home/user/path/to/open_url.sh "$1"

cat <(echo "$1") > /dev/tcp/localhost/37705