diff options
| author | Justine Smithies <justine@smithies.me.uk> | 2026-06-01 18:46:18 +0100 |
|---|---|---|
| committer | Justine Smithies <justine@smithies.me.uk> | 2026-06-01 18:46:18 +0100 |
| commit | 8e2383e643ae1c91513a5f0f9fd5f6699ff88b4f (patch) | |
| tree | 020eb13ac385d9af5ff5f1a5819ecad701165cc1 /.kshrc | |
| parent | 47211ced92e5720b0ef80dddb07c11c97fa25962 (diff) | |
Fixed issue with less options not working
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 $ '' |
