mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 07:16:23 -04:00
docs: update comment
This commit is contained in:
parent
75e9d12bac
commit
544cf86bc4
|
|
@ -26,7 +26,7 @@ test -z "$forgit_diff_pager"; and set -g forgit_diff_pager (git config pager
|
|||
test -z "$forgit_ignore_pager"; and set -g forgit_ignore_pager (type -q bat >/dev/null 2>&1 && echo 'bat -l gitignore --color=always' || echo 'cat')
|
||||
test -z "$forgit_log_format"; and set -g forgit_log_format "-%C(auto)%h%d %s %C(black)%C(bold)%cr%Creset"
|
||||
|
||||
# https://github.com/wfxr/emoji-cli
|
||||
# optional render emoji characters (https://github.com/wfxr/emoji-cli)
|
||||
type -q emojify >/dev/null 2>&1 && set -g forgit_emojify '|emojify'
|
||||
|
||||
# git commit viewer
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ forgit::warn() { printf "%b[Warn]%b %s\n" '\e[0;33m' '\e[0m' "$@" >&2; }
|
|||
forgit::info() { printf "%b[Info]%b %s\n" '\e[0;32m' '\e[0m' "$@" >&2; }
|
||||
forgit::inside_work_tree() { git rev-parse --is-inside-work-tree >/dev/null; }
|
||||
|
||||
# https://github.com/wfxr/emoji-cli
|
||||
# optional render emoji characters (https://github.com/wfxr/emoji-cli)
|
||||
hash emojify &>/dev/null && forgit_emojify='|emojify'
|
||||
|
||||
forgit_pager=${FORGIT_PAGER:-$(git config core.pager || echo 'cat')}
|
||||
|
|
|
|||
Loading…
Reference in a new issue