From c011691455a84eaaa213b4c863a1d46e5dc582de Mon Sep 17 00:00:00 2001 From: Viktor Haag Date: Thu, 1 Dec 2016 16:03:40 -0500 Subject: [PATCH] version should check > 21, not > 22 --- src/_ag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_ag b/src/_ag index 78e8f29..aba0715 100644 --- a/src/_ag +++ b/src/_ag @@ -72,7 +72,7 @@ _ag_add_file_types() { _ag_add_version_opts() { local ag_version=$(_ag_version) - if [[ $ag_version > 0.22 ]]; then + if [[ $ag_version > 0.21 ]]; then _ag_add_file_types AG_OPTS+=( '(- 1 *)--list-file-types[list supported filetypes to search]'