From 180c01e61f1ee4f896ebcbdbb6e4228c861926e3 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 268dce19..2a765a71 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 251715d9..d0f5e5f0 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!' -- cgit v1.2.3-70-g09d2