summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-04-13 23:36:05 -0700
committerXiao Pan <gky44px1999@gmail.com>2024-04-17 04:29:42 -0700
commitdd5e63fc7c1f337fb1dce8dd45e1a06b294d688f (patch)
tree55453ca1e262bf04221ddffd01621944c6777caa
parent165a523b273f291d1d195560948650141661635b (diff)
tab show 4 spaces width
-rw-r--r--home/xyz/.bashrc2
-rw-r--r--home/xyz/.profile1
2 files changed, 3 insertions, 0 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc
index 33d8cd11..716a696e 100644
--- a/home/xyz/.bashrc
+++ b/home/xyz/.bashrc
@@ -13,6 +13,8 @@ esac
. /usr/share/fzf/key-bindings.bash
. /usr/share/bash-complete-alias/complete_alias
+tabs 4
+
# default PS1
#PS1='[\u@\h \W]\$ '
diff --git a/home/xyz/.profile b/home/xyz/.profile
index c13c19dd..14fc542b 100644
--- a/home/xyz/.profile
+++ b/home/xyz/.profile
@@ -31,6 +31,7 @@ export PAGER=less
# but other situation seems less use -F as default?
# steal from sdcv arch wiki
# CALCURSE_PAGER less can't use -F, else ? and > hotkey will only blink the text
+# -x4 to use 4 spaces instead of default 8. Even if I specify `tabs 4` in .bashrc, this is still needed for less.
export LESS=-FRXix4
export MANPAGER='nvim +Man!'