summaryrefslogtreecommitdiff
path: root/home
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
commit20c5d43d15cf54a0e3f799ce88ddb13dff0c01d7 (patch)
tree2e075bb4a7518cadb05fa23a17e8aa528dcac882 /home
parent82e40dac1d0d240fed415e881fb465c2cecd40f6 (diff)
tab show 4 spaces width
Diffstat (limited to 'home')
-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 4d81b50f..ecbde6ca 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!'