diff options
Diffstat (limited to '')
-rwxr-xr-x | src/scripts/piper-url-handler.lnav | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/scripts/piper-url-handler.lnav b/src/scripts/piper-url-handler.lnav new file mode 100755 index 0000000..f186767 --- /dev/null +++ b/src/scripts/piper-url-handler.lnav @@ -0,0 +1,8 @@ +# +# @synopsis: piper-url-handler +# @description: Internal script to handle opening piper URLs +# + +;SELECT jget(url, '/host') AS uhost FROM (SELECT parse_url($1) AS url) + +:open ${LNAV_WORK_DIR}/piper/$uhost/out.* |