dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit 420d864637871ef44f028e82c3e65ee2c76a0115 (patch)
parent e2bea0c5e0ffd8617ecf8b17ec8c28eb6cea2c4c
Author: Alex Karle <alex@karle.co>
Date:   Tue, 16 Jul 2019 23:54:17 -0400

[bash] add w3m search functions

In particular, I do a lot of searching of DuckDuckGo and the Arch Wiki.

Diffstat:
Mbash/bashrc | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git 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"