aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sh
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-08-22 15:53:18 -0500
committerToby Vincent <tobyv13@gmail.com>2022-08-22 15:53:18 -0500
commit9dade14cffcc6a1e110fc40132384b6d0f1d104f (patch)
tree0cca909b3e6b458056711534157b8b3161047572 /sh
parent16d72d5369f269a7c0fe70fa5767b3803d62b4ea (diff)
feat(sh): add lesspipe.sh
Diffstat (limited to 'sh')
-rw-r--r--sh/.profile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sh/.profile b/sh/.profile
index b0e480a..9b673e0 100644
--- a/sh/.profile
+++ b/sh/.profile
@@ -18,13 +18,15 @@ export XDG_RUNTIME_DIR="${XDG_RUNTIME_DIR:-/run/user/$(id -u "$USER")}"
# prog
EDITOR="$(command -v nvim 2>/dev/null || command -v vim 2>/dev/null || command -v vi)"
+export EDITOR
BROWSER="$(command -v firefox || command -v chromium 2>/dev/null)"
-export EDITOR BROWSER
+export BROWSER
export TERMINAL="alacritty"
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
# opts
export MANROFFOPT="-c"
+export LESSOPEN="|lesspipe.sh %s"
export LESSHISTFILE="$XDG_STATE_HOME/lesshst"
export WGETRC="$XDG_CONFIG_HOME/wgetrc"
export STARSHIP_LOG="error"