diff options
Diffstat (limited to '.kshrc')
| -rw-r--r-- | .kshrc | 19 |
1 files changed, 9 insertions, 10 deletions
@@ -46,20 +46,19 @@ __get_current_git_branch_name() { # Pager if _exists less; then - PAGER=less - LESSHISTFILE=- -# # -I ignore case -# # -R colored output -# # -X don't clear on exit -# # -Ps string prompt - # LESS='-IRXPs %lt-%lb (%Pt-%Pb \%) ░ %bt-%bbb ░ %f ░▒▓' - LESS='-IRX' - export PAGER LESSHISTFILE LESS + PAGER=less + LESSHISTFILE=- + # -I ignore case + # -R colored output + # -X don't clear on exit + # -Ps string prompt + alias less='less -IrX' + export PAGER LESSHISTFILE LESS fi # Colored man pages man() { - sh -c "man '$@' | col -bx | bat -l man" + sh -c "man '$@' | col -bx | bat -l man" } # Set prompt: ``username@hostname directory $ '' |
