summaryrefslogtreecommitdiff
path: root/uristart.conf.example
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2019-04-20 06:18:01 -0500
committerepoch <epoch@hacking.allowed.org>2019-04-20 06:18:01 -0500
commitd76a5edf9bc16f5fd610dab5c69e6359cd8e1381 (patch)
tree0c5eed41bdb7930f1428190396969c6f421736c4 /uristart.conf.example
parent6f402e2d2f052972886712f60d592684c8671982 (diff)
downloaduritools-d76a5edf9bc16f5fd610dab5c69e6359cd8e1381.tar.gz
uritools-d76a5edf9bc16f5fd610dab5c69e6359cd8e1381.zip
forgot example config for uristart
Diffstat (limited to 'uristart.conf.example')
-rw-r--r--uristart.conf.example8
1 files changed, 8 insertions, 0 deletions
diff --git a/uristart.conf.example b/uristart.conf.example
new file mode 100644
index 0000000..27fab79
--- /dev/null
+++ b/uristart.conf.example
@@ -0,0 +1,8 @@
+### uristart will escape only single-quotes in the url parts.
+### so place them inside single-quotes when creating handler pipelines. or else!
+### (if you're given a bad link someone might be able to run shell commands)
+finger: printf "%%s\r\n" '%p' | ncat '%d' 79 | tr -d '\r' | xmessage -file -
+whois: whois "$(printf '%%s\\\\n' '%d' | sed 's/^..*$/-h/')" '%d' '%p' | xmessage -file -
+irc: x-terminal-emulator -e irssi -c '%d' -p '%P'
+http: firefox --new-tab '%U'
+DEFAULT: xdg-open '%U'