]> git.phdru.name Git - dotfiles.git/blobdiff - bin/webstdin
webstdin: Redirect stdin from `/dev/tty`
[dotfiles.git] / bin / webstdin
index 395456ccd9a5aa8daf6ac11b81aa0d154cbab00f..209cecfef0748a347fb383350870f45536cd2788 100755 (executable)
@@ -13,4 +13,4 @@ done
 shift `expr $OPTIND - 1`
 
 tmpfile="`mktemp -t XXXXXX.$ext`" && cat - >"$tmpfile" &&
-webbrowser $new_win file://"$tmpfile" && (sleep 10 && exec rm "$tmpfile" &)
+webbrowser $new_win file://"$tmpfile" </dev/tty && (sleep 10 && exec rm "$tmpfile" &)