summaryrefslogtreecommitdiff
path: root/home/xyz/.profile
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2021-10-27 00:41:40 -0700
committerxyz <gky44px1999@gmail.com>2021-10-27 00:41:40 -0700
commit23019ce11661f9ffcad50a3fd9f3611568ebfc67 (patch)
treeb0cc559a23a8a145503007e0c2249c7ea0e127e8 /home/xyz/.profile
parent7f2a73cdd8add791f50eb68771f9537ce2071e1a (diff)
add PAGER env
Diffstat (limited to 'home/xyz/.profile')
-rw-r--r--home/xyz/.profile11
1 files changed, 9 insertions, 2 deletions
diff --git a/home/xyz/.profile b/home/xyz/.profile
index 4d9acc09..7534fb25 100644
--- a/home/xyz/.profile
+++ b/home/xyz/.profile
@@ -24,16 +24,23 @@ export PATH="$(find "$HOME/.local/bin" -type d -exec printf '%s:' '{}' \+)$PATH"
export HISTSIZE=7000
export HISTFILESIZE=7000
-export MANPAGER='nvim +Man!'
export EDITOR=nvim
export BROWSER=firefox
+export PAGER=less
+# -X seems can keep the output if exit less?
+# -F is useful when sdcv need user to manually select similar word, after selection if no -F less will not quit if one screen
+# but other situation seems less use -F as default?
+# steal from sdcv arch wiki
+export LESS='-FRX'
+export SDCV_PAGER="$PAGER"
+export MANPAGER='nvim +Man!'
+
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
export INPUTRC="$XDG_CONFIG_HOME/readline/inputrc"
#export QT_QPA_PLATFORMTHEME=qt5ct
export QT_QPA_PLATFORMTHEME=gtk2
#export QT_STYLE_OVERRIDE=kvantum
-export SDCV_PAGER='less --quit-if-one-screen -RX'
export SXHKD_SHELL=sh
export _ZO_ECHO=1
# enable color for `tree` command, not forced