From 420d864637871ef44f028e82c3e65ee2c76a0115 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Tue, 16 Jul 2019 23:54:17 -0400 Subject: [PATCH] [bash] add w3m search functions In particular, I do a lot of searching of DuckDuckGo and the Arch Wiki. --- bash/bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bash/bashrc b/bash/bashrc index b84e3c5..5242357 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -26,6 +26,10 @@ function ff { find . -name "*$1*" } +# Custom w3m seraches +function aw { w3m "https://wiki.archlinux.org/index.php?search=$1"; } +function ddg { w3m "https://duckduckgo.com/lite?q=$1"; } + # $EDITOR, the most important export of course if [ -x "$(command -v nvim)" ]; then export EDITOR="nvim" -- libgit2 0.28.4