aboutsummaryrefslogtreecommitdiff
path: root/.kshrc
diff options
context:
space:
mode:
Diffstat (limited to '.kshrc')
-rw-r--r--.kshrc19
1 files changed, 9 insertions, 10 deletions
diff --git a/.kshrc b/.kshrc
index 4139e54..d38c506 100644
--- a/.kshrc
+++ b/.kshrc
@@ -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 $ ''