summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepochqwert <epoch@hacking.allowed.org>2018-04-10 03:59:58 +0000
committerepochqwert <epoch@hacking.allowed.org>2018-04-10 03:59:58 +0000
commit5b903c069d61ea0937c8863043aeec66db80f6c8 (patch)
tree22aa5ee55c872ecff86842435bcc18d03e794e3b
parent87dd9c7e8c87c681b9808083448cd546880ebf3b (diff)
downloaduritools-5b903c069d61ea0937c8863043aeec66db80f6c8.tar.gz
uritools-5b903c069d61ea0937c8863043aeec66db80f6c8.zip
changed last line in start to run the pipeline in the current shell instead of a shell not hooked into the terminal
-rwxr-xr-xstart2
1 files changed, 1 insertions, 1 deletions
diff --git a/start b/start
index d21a799..873f792 100755
--- a/start
+++ b/start
@@ -1,4 +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
+eval "$(printf "%s\n" "$1" | printfurl "$line" )"