aboutsummaryrefslogtreecommitdiff
path: root/home/john
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-24 00:29:32 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-24 00:29:32 +0200
commitbc825c9dd007b8161db878666df5b3b7c8c367d7 (patch)
tree1d0d766d60bc2631f25ae053b8ba305c01a0376b /home/john
parentfa1045bc3b9204466816132d635ac3a2a06b7e6b (diff)
downloadlbsd-bc825c9dd007b8161db878666df5b3b7c8c367d7.tar.gz
Use Heirloom troff instead of GNU troff
Diffstat (limited to 'home/john')
-rw-r--r--home/john/.profile5
-rw-r--r--home/john/.shrc11
2 files changed, 11 insertions, 5 deletions
diff --git a/home/john/.profile b/home/john/.profile
index fea0f5c..e3025fd 100644
--- a/home/john/.profile
+++ b/home/john/.profile
@@ -31,11 +31,6 @@ export PAGER=less
# Set your default printer, if desired.
#export PRINTER=change-this-to-a-printer
-# Set the search path for programs.
-PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/pkg/bin
-PATH=${PATH}:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin
-export PATH
-
# Configure the shell to load .shrc at startup time.
# This will happen for every shell started, not just login shells.
export ENV=$HOME/.shrc
diff --git a/home/john/.shrc b/home/john/.shrc
index 4d5fced..214911c 100644
--- a/home/john/.shrc
+++ b/home/john/.shrc
@@ -4,6 +4,14 @@ if [ -f /etc/shrc ]; then
. /etc/shrc
fi
+SYSPATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin
+PATH=/usr/pkg/heirloom-doctools/bin:$SYSPATH
+export SYSPATH PATH
+
+SYSMANPATH=/usr/local/man:/usr/pkg/man:/usr/X11R7/man:/usr/share/man
+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"'
@@ -25,5 +33,8 @@ case "$-" in *i*)
cd "$r" &&
{ [ $# -eq 1 ] && return; BASH_COMMAND=$* cmdtitle 2>&-; "$@"; }
}
+ sys() {
+ PATH=$SYSPATH MANPATH=$SYSMANPATH "$@"
+ }
;;
esac