config

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

commit d8b3f8e59988b71a6ec7f540e2f08879e3f1d9c9
parent 6e26c0c1c738d847330ff3a89d89e0d2634dbc75
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Tue, 16 Feb 2021 22:48:40 -0800

Add lynx(1) module, script, and environment

Diffstat:
MMakefile | 1+
Amodules/lynx/.config/lynx/lynx.cfg | 2++
Mmodules/profile/.profile | 1+
Amodules/scripts/.local/bin/lynx | 10++++++++++
4 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -4,6 +4,7 @@ MODULES =\ editline\ git\ ksh\ + lynx\ mpd\ mpv\ profile\ diff --git a/modules/lynx/.config/lynx/lynx.cfg b/modules/lynx/.config/lynx/lynx.cfg @@ -0,0 +1,2 @@ +VI_KEYS_ALWAYS_ON:true +COOKIE_REJECT_DOMAINS:all diff --git a/modules/profile/.profile b/modules/profile/.profile @@ -28,6 +28,7 @@ export HISTBASE="$HOME/.local/var" export INPUTRC="$XDG_CONFIG_HOME/readline" export LESS="X F M r S W x2 ~ q i b80 h15 z23 j5 x8" export LESSHISTFILE="/dev/null" +export LYNX_CFG="$XDG_CONFIG_HOME/lynx/lynx.cfg" export PASSWORD_STORE_DIR="$HOME/.local/var/pass/" export PATH="$HOME/.local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/X11R6/bin:/usr/games:/usr/local/plan9/bin" export PWDLOG="$HOME/.local/var/log/pwd" diff --git a/modules/scripts/.local/bin/lynx b/modules/scripts/.local/bin/lynx @@ -0,0 +1,10 @@ +#!/bin/sh +# Copyright 2020 Jacob R. Edwards +# License: GPLv3 +# +# lynx -- lynx(1) wrapper +# +# Unfortunately it seems the `nocolor' flag has no lynx.cfg equivalent, +# and I don't want to learn lss, so I'm making a small wrapper script. + +exec lynx -nocolor "$@"