mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 07:16:23 -04:00
Fix bat url refer comment.
This commit is contained in:
parent
28d55baf67
commit
9651acbef2
|
|
@ -89,7 +89,7 @@ export FORGIT_GI_SRC=$FORGIT_GI_REPO/templates
|
|||
forgit::ignore() {
|
||||
[ -d $FORGIT_GI_REPO ] || forgit::ignore::update
|
||||
local IFS cmd args cat
|
||||
# https://github.com/wfxr/emoji-cli
|
||||
# https://github.com/sharkdp/bat.git
|
||||
hash bat &>/dev/null && cat='bat -l gitignore --color=always' || cat="cat"
|
||||
cmd="$cat $FORGIT_GI_SRC/{2}{,.gitignore} 2>/dev/null"
|
||||
# shellcheck disable=SC2206,2207
|
||||
|
|
|
|||
Loading…
Reference in a new issue