aboutsummaryrefslogtreecommitdiff
path: root/home/john/.profile
diff options
context:
space:
mode:
authorJohn Ankarstrom <john@ankarstrom.se>2021-07-02 15:16:40 +0200
committerJohn Ankarstrom <john@ankarstrom.se>2021-07-02 15:16:40 +0200
commit6653bd38f152db1f453620e6ddea579f43e13a63 (patch)
treeefbf67219919422cb0ea208b8765a4df6937b922 /home/john/.profile
parent0867d42a414952839de725a5a07804893727dc90 (diff)
downloadlbsd-6653bd38f152db1f453620e6ddea579f43e13a63.tar.gz
.profile, .shrc: Don't set special PATH unless interactive
Diffstat (limited to 'home/john/.profile')
-rw-r--r--home/john/.profile9
1 files changed, 9 insertions, 0 deletions
diff --git a/home/john/.profile b/home/john/.profile
index f7db422..dea5bb8 100644
--- a/home/john/.profile
+++ b/home/john/.profile
@@ -31,6 +31,15 @@ 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
+
+# Set the search path for man.
+MANPATH=/usr/local/man:/usr/pkg/man:/usr/X11R7/man:/usr/share/man
+export MANPATH
+
# Configure the shell to load .shrc at startup time.
# This will happen for every shell started, not just login shells.
export ENV=$HOME/.shrc