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).
This commit is contained in:
Dan Underwood 2016-05-24 00:10:12 +01:00 committed by David Adam
parent 8fba36b242
commit 475439fa0b

View file

@ -69,7 +69,7 @@ function __fish_apm_list_packages
apm list -b apm list -b
end end
if apm -h ^| string match -q "Atom Package Manager*" if apm -h ^| string match -q "*Atom Package Manager*"
# Completions for Atom Package Manager # Completions for Atom Package Manager
################## ##################