config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 026ea013e4dc3a7614273a11b02205c374dbe2d0
parent 974714025a1fae487bc65a7e5e6aa3008848fa71
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Mon, 28 Dec 2020 15:30:24 -0800

Add gawk (gopher client) shell function

The gs function begins a search with floodgap's Veronica II.

Diffstat:
Mmodules/shell/.config/shell/main | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/modules/shell/.config/shell/main b/modules/shell/.config/shell/main @@ -52,6 +52,7 @@ doin() { (builtin cd ${1:?No directory} && shift && eval $@) ;} dus() { du -h "$@" | sort -h ;} fed() { doin "$FEED_DIR" feed $@ ;} fman() { groff -man -Tascii $@ | l ;} +gs() { local IFS='?' && gawk "/v2/vs/?${*:?No query}" floodgap.com ;} # my gopher client, not gnu awk lsc() { ls $* | rs ;} lsm() { ls ${SHELL_MODULE_DIR:?unset} ;} note() { doin $HOME/own/text/note/ $@ ;}