diff --git a/.bashrc b/.bashrc index 8e08434..7915189 100644 --- a/.bashrc +++ b/.bashrc @@ -7,11 +7,23 @@ # My bash config. Not much to see here; just some pretty standard stuff. ### EXPORT -export TERM="xterm-256color" # getting proper colors -export HISTCONTROL=ignoredups:erasedups # no duplicate entries -export ALTERNATE_EDITOR="" # setting for emacsclient -export EDITOR="emacsclient -t -a ''" # $EDITOR use Emacs in terminal -export VISUAL="emacsclient -c -a emacs" # $VISUAL use Emacs in GUI mode +export TERM="xterm-256color" # getting proper colors +export HISTCONTROL=ignoredups:erasedups # no duplicate entries +export ALTERNATE_EDITOR="" # setting for emacsclient +export EDITOR="emacsclient -t -a ''" # $EDITOR use Emacs in terminal +export VISUAL="emacsclient -c -a emacs" # $VISUAL use Emacs in GUI mode + +### SET MANPAGER +### Uncomment only one of these! + +### "bat" as manpager +export MANPAGER="sh -c 'col -bx | bat -l man -p'" + +### "vim" as manpager +# export MANPAGER='/bin/bash -c "vim -MRn -c \"set buftype=nofile showtabline=0 ft=man ts=8 nomod nolist norelativenumber nonu noma\" -c \"normal L\" -c \"nmap q :qa\"\"