При наличии bat использовать его в качестве пейджера
This commit is contained in:
parent
c0c1920574
commit
9e58e8e04f
5
.zshenv
5
.zshenv
@ -53,6 +53,11 @@ if [[ -n ${DISPLAY+set} ]]; then
|
|||||||
fi
|
fi
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
if command -v bat >/dev/null; then
|
||||||
|
export PAGER=bat
|
||||||
|
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
||||||
|
fi
|
||||||
|
|
||||||
# Uncrustify
|
# Uncrustify
|
||||||
export UNCRUSTIFY_CONFIG="${XDG_CONFIG_HOME}/uncrustify/uncrustify.cfg"
|
export UNCRUSTIFY_CONFIG="${XDG_CONFIG_HOME}/uncrustify/uncrustify.cfg"
|
||||||
[ ! -r "${UNCRUSTIFY_CONFIG}" ] && unset UNCRUSTIFY_CONFIG
|
[ ! -r "${UNCRUSTIFY_CONFIG}" ] && unset UNCRUSTIFY_CONFIG
|
||||||
|
Loading…
Reference in New Issue
Block a user