diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-04-13 23:36:05 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-04-13 23:36:05 -0700 |
commit | cfde7ce3573eafe9efb4d6f1855fb368afaee299 (patch) | |
tree | e18a26441e47d7628b68b0f2a8e73e4e6bf64285 /home/xyz | |
parent | d03631af6f83aca39415c3970bae8fd78efeb737 (diff) |
tab show 4 spaces width
Diffstat (limited to 'home/xyz')
-rw-r--r-- | home/xyz/.bashrc | 2 | ||||
-rw-r--r-- | home/xyz/.profile | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/home/xyz/.bashrc b/home/xyz/.bashrc index 36138a1f..f860ff52 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 df9ffd18..cc5b43b1 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" |