summaryrefslogtreecommitdiff
path: root/start
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2018-04-06 02:06:20 -0500
committerepoch <epoch@hacking.allowed.org>2018-04-06 02:06:20 -0500
commit87dd9c7e8c87c681b9808083448cd546880ebf3b (patch)
tree59cd927d77c7eee2b55398566c718204df841231 /start
parentd0adb4621b5e4447bde26a8cd54201e4005a60e8 (diff)
downloaduritools-87dd9c7e8c87c681b9808083448cd546880ebf3b.tar.gz
uritools-87dd9c7e8c87c681b9808083448cd546880ebf3b.zip
added printfurl and start tools and ignore file. and example config.
Diffstat (limited to 'start')
-rwxr-xr-xstart4
1 files changed, 4 insertions, 0 deletions
diff --git a/start b/start
new file mode 100755
index 0000000..d21a799
--- /dev/null
+++ b/start
@@ -0,0 +1,4 @@
+#!/bin/sh
+scheme="$(printf "%s\n" "$1" | cuturl -s)"
+line="$(grep "^${scheme}:" ~/.config/start.conf | cut -d: -f2-)"
+printf "%s\n" "$1" | printfurl "$line" | sh