aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.kshrc7
1 files changed, 2 insertions, 5 deletions
diff --git a/.kshrc b/.kshrc
index d38c506..7c5f31f 100644
--- a/.kshrc
+++ b/.kshrc
@@ -56,14 +56,11 @@ if _exists less; then
export PAGER LESSHISTFILE LESS
fi
-# Colored man pages
-man() {
- sh -c "man '$@' | col -bx | bat -l man"
-}
-
# Set prompt: ``username@hostname directory $ ''
PS1="\[\e[1;32m\]\u@\h \[\e[1;34m\]\w\[\e[0m\] \[\e[1;31m\]\$(__get_current_git_branch_name)\[\e[0m\] $ "
+# Color man pages using bat
+MANPAGER="sh -c 'col -bx | bat -l man -p'"
COLORTERM="truecolor"
EDITOR="vim"
VISUAL="vim"