zsh/browser.zsh

5 lines
246 B
Bash
Raw Normal View History

2018-01-29 16:10:37 +01:00
function duckduck() { x-www-browser "https://duckduckgo.com/?q=`escape "$@"`"; }
function escape() { perl -MURI::Escape -e 'print uri_escape($ARGV[0]);' "$@"; }
function google() { x-www-browser "https://www.google.de/search?q=`escape "$@"`"; }