From 2a25eaa0e3265c9a7c8b490ce444314ab7a1c88c Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Sat, 13 Apr 2024 23:36:05 -0700 Subject: tab show 4 spaces width --- home/xyz/.bashrc | 2 ++ home/xyz/.profile | 1 + 2 files changed, 3 insertions(+) (limited to 'home') diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc index b6b32fe3..c3e7baf7 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 7d404438..90920243 100644 --- a/home/xyz/.profile +++ b/home/xyz/.profile @@ -32,6 +32,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 SDCV_PAGER="$PAGER" -- cgit v1.2.3-70-g09d2