mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 15:26:16 -04:00
Merge pull request #56 from benavern/master
🐛 fix typo in warning message
This commit is contained in:
commit
5d55d7d57d
|
|
@ -14,7 +14,7 @@ function forgit::inside_work_tree
|
|||
end
|
||||
|
||||
if not type -q fzf > /dev/null 2>&1
|
||||
forgit::warn "FZF not found and is requried for forgit"
|
||||
forgit::warn "FZF not found and is required for forgit"
|
||||
exit 1
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,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; }
|
||||
|
||||
hash fzf &>/dev/null || { forgit::warn "FZF not found and is requried for forgit"; return 1; }
|
||||
hash fzf &>/dev/null || { forgit::warn "FZF not found and is required for forgit"; return 1; }
|
||||
|
||||
# https://github.com/wfxr/emoji-cli
|
||||
hash emojify &>/dev/null && forgit_emojify='|emojify'
|
||||
|
|
|
|||
Loading…
Reference in a new issue