diff --git a/forgit.plugin.fish b/forgit.plugin.fish index 8e8d7ad..5991f90 100755 --- a/forgit.plugin.fish +++ b/forgit.plugin.fish @@ -13,11 +13,6 @@ function forgit::inside_work_tree git rev-parse --is-inside-work-tree >/dev/null; end -if not type -q fzf > /dev/null 2>&1 - forgit::warn "FZF not found and is required for forgit" - exit 1 -end - set core_pager (git config core.pager) if test -n $core_pager diff --git a/forgit.plugin.zsh b/forgit.plugin.zsh index 6ae7048..dfebdc5 100755 --- a/forgit.plugin.zsh +++ b/forgit.plugin.zsh @@ -3,8 +3,6 @@ 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 required for forgit"; return 1; } - # https://github.com/wfxr/emoji-cli hash emojify &>/dev/null && forgit_emojify='|emojify'