Настройка bat
This commit is contained in:
5
.zshenv
5
.zshenv
@@ -55,10 +55,5 @@ 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
|
|
||||||
|
|
||||||
[ -r "$ZDOTDIR/.zshenv.user" ] && source "$ZDOTDIR/.zshenv.user"
|
[ -r "$ZDOTDIR/.zshenv.user" ] && source "$ZDOTDIR/.zshenv.user"
|
||||||
|
|
||||||
|
8
apps.d/bat.zsh
Normal file
8
apps.d/bat.zsh
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# shellcheck shell=bash
|
||||||
|
# vim: ft=sh
|
||||||
|
|
||||||
|
if command -v bat >/dev/null; then
|
||||||
|
export PAGER=bat
|
||||||
|
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
||||||
|
fi
|
||||||
|
|
Reference in New Issue
Block a user