From 475439fa0b934b1add793f9584a706b607e35986 Mon Sep 17 00:00:00 2001 From: Dan Underwood Date: Tue, 24 May 2016 00:10:12 +0100 Subject: Test for Atom Package Manager now passes correctly Move to `string match` syntax from `grep` caused test to see if the Atom Package Manager is installed to always fail. This appears to fix the issue (tested on fish 2.3.0 with apm 1.6.0). --- share/completions/apm.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/apm.fish b/share/completions/apm.fish index f9bf2f97..40e6794b 100644 --- a/share/completions/apm.fish +++ b/share/completions/apm.fish @@ -69,7 +69,7 @@ function __fish_apm_list_packages apm list -b end -if apm -h ^| string match -q "Atom Package Manager*" +if apm -h ^| string match -q "*Atom Package Manager*" # Completions for Atom Package Manager ################## -- cgit v1.2.3