diff options
author | Dan Underwood <dan-c-underwood@users.noreply.github.com> | 2016-05-24 00:10:12 +0100 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2016-05-24 11:24:01 +0000 |
commit | 475439fa0b934b1add793f9584a706b607e35986 (patch) | |
tree | 23ad5de5422a76dae74a9905c05142f32f739f7e /share/completions | |
parent | 8fba36b242f6c22673da6577732ff52e4bba09b7 (diff) |
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).
Diffstat (limited to 'share/completions')
-rw-r--r-- | share/completions/apm.fish | 2 |
1 files changed, 1 insertions, 1 deletions
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 ################## |