From 771dd4420b4bd8a186e4bbce71df215a37ab22e1 Mon Sep 17 00:00:00 2001 From: John Ankarstrom Date: Wed, 30 Jun 2021 17:49:49 +0200 Subject: .shrc: Open vi, w3m with UTF-8 encoding --- home/john/.shrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/home/john/.shrc b/home/john/.shrc index 214911c..888600c 100644 --- a/home/john/.shrc +++ b/home/john/.shrc @@ -13,17 +13,21 @@ MANPATH=/usr/pkg/heirloom-doctools/man:$SYSMANPATH export SYSMANPATH MANPATH case "$-" in *i*) - # interactive mode settings go here export GIT_EDITOR='vi +:"so /usr/local/share/git.exrc"' + alias ack='ack --noheading' alias info='info --vi-keys' alias ls='ls -p' alias m='less -XF' + alias vi='utf8 vi' + alias w3m='utf8 w3m' + n() { f=`mktemp` noice -p "$@" >$f && cd "$(cat $f)" rm $f } + go() { [ -z "$1" ] && { echo usage: $0 [cmd ...] name 2>&1; return 1; } eval name=\$$# -- cgit v1.2.3