switched to elinks for browser functions

This commit is contained in:
Tobias Schmidl 2018-09-04 07:33:38 +02:00 committed by GitHub
parent e7553325f9
commit 64c17fd95a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
function duckduck() { x-www-browser "https://duckduckgo.com/?q=`escape "$@"`"; } function duckduck() { elinks -dump "https://duckduckgo.com/?q=`escape "$@"`"; }
function escape() { perl -MURI::Escape -e 'print uri_escape($ARGV[0]);' "$@"; } function escape() { perl -MURI::Escape -e 'print uri_escape($ARGV[0]);' "$@"; }
function google() { x-www-browser "https://www.google.de/search?q=`escape "$@"`"; } function google() { elinks -dump "https://www.google.de/search?q=`escape "$@"`"; }