version should check > 21, not > 22
This commit is contained in:
parent
c802f5348b
commit
c011691455
2
src/_ag
2
src/_ag
|
@ -72,7 +72,7 @@ _ag_add_file_types() {
|
||||||
_ag_add_version_opts() {
|
_ag_add_version_opts() {
|
||||||
local ag_version=$(_ag_version)
|
local ag_version=$(_ag_version)
|
||||||
|
|
||||||
if [[ $ag_version > 0.22 ]]; then
|
if [[ $ag_version > 0.21 ]]; then
|
||||||
_ag_add_file_types
|
_ag_add_file_types
|
||||||
AG_OPTS+=(
|
AG_OPTS+=(
|
||||||
'(- 1 *)--list-file-types[list supported filetypes to search]'
|
'(- 1 *)--list-file-types[list supported filetypes to search]'
|
||||||
|
|
Loading…
Reference in New Issue