commit b286382647d213c41824e0c496dc54e22171de9e
parent 49f7f517018d2144023484b4533df071d72c0ad7
Author: jacob@thinkpad <jacobouno@protonmail.com>
Date: Thu, 30 Apr 2020 22:18:33 -0700
export ENV on OpenBSD and remove LESS paramiter to exit if lines fit on screen
less paramiter: although nice for most things, breaks alot of things like short git diffs and etc.
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/profile/.profile b/profile/.profile
@@ -1,6 +1,10 @@
# profile
# jacob edwards, 2019 - 2020
+
+
+
if [ $(uname) = "OpenBSD" ]; then
+ export ENV="$HOME/.kshrc"
export SHELL=ksh
export BROWSER=vimb
PATH=$HOME/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:$PATH
@@ -14,7 +18,7 @@ export EDITOR=nvim
export TERMINAL=st
export COMPOSITOR=picom
export PAGER=less
-export LESS="M e r S W x2 ~ q Fi b80 h15 z23 j5"
+export LESS="M e r S W x2 ~ q i b80 h15 z23 j5"
export COLUMNS=85
export LOCKER=slock
export HISTFILE="$HOME/.hist-$0"