summaryrefslogtreecommitdiff
path: root/uristart.conf.example
blob: 53fc08b8140825830b582f17c480ab0e0ae2093b (plain) (blame)
1
2
3
4
5
6
7
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)
s finger:		printf "%%s\r\n" '%p' | ncat '%d' 79 | tr -d '\r' | xmessage -file -
s whois:		whois "$(printf '%%s\\\\n' '%d' | sed 's/^..*$/-h/')" '%d' '%p' | xmessage -file -
s irc:		x-terminal-emulator -e irssi -c '%d' -p '%P'
s http:		firefox --new-tab '%U'
s DEFAULT:	xdg-open '%U'