aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarstrom <john@ankarstrom.se>2021-06-30 17:49:49 +0200
committerJohn Ankarstrom <john@ankarstrom.se>2021-06-30 17:49:49 +0200
commit771dd4420b4bd8a186e4bbce71df215a37ab22e1 (patch)
tree71b4b7915af96d82ae464b2ba74f5ac917cf72d5
parent04bc325083e9a1887f858eac3e8144fe1b07b201 (diff)
downloadlbsd-771dd4420b4bd8a186e4bbce71df215a37ab22e1.tar.gz
.shrc: Open vi, w3m with UTF-8 encoding
-rw-r--r--home/john/.shrc6
1 files changed, 5 insertions, 1 deletions
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=\$$#