diff --git a/app/features.go b/app/features.go index fc625c1..c510594 100644 --- a/app/features.go +++ b/app/features.go @@ -13,7 +13,7 @@ const ( // fd Fd AvailableFeatures = 2 // All features are present - All AvailableFeatures = Git & Fd + All AvailableFeatures = Git | Fd ) // Checks for available features. diff --git a/cmd/check.go b/cmd/check.go index 6053d13..a7c9144 100644 --- a/cmd/check.go +++ b/cmd/check.go @@ -33,7 +33,7 @@ The check command reports on which binaries are available and which are not.`, } // Check fd - if features&app.Fd == 1 { + if features&app.Fd == app.Fd { table.Append([]string{"fd", "✓ Available"}) } else { table.Append([]string{"fd", "✗ Missing"})