summaryrefslogtreecommitdiffstats
path: root/pkg/gui/controllers/custom_command_action.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/controllers/custom_command_action.go')
-rw-r--r--pkg/gui/controllers/custom_command_action.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/controllers/custom_command_action.go b/pkg/gui/controllers/custom_command_action.go
index 16d811aff..f4de3218e 100644
--- a/pkg/gui/controllers/custom_command_action.go
+++ b/pkg/gui/controllers/custom_command_action.go
@@ -38,7 +38,7 @@ func (self *CustomCommandAction) Call() error {
func (self *CustomCommandAction) GetCustomCommandsHistorySuggestionsFunc() func(string) []*types.Suggestion {
history := self.c.GetAppState().CustomCommandsHistory
- return helpers.FuzzySearchFunc(history, self.c.UserConfig.Gui.UseFuzzySearch())
+ return helpers.FilterFunc(history, self.c.UserConfig.Gui.UseFuzzySearch())
}
// this mimics the shell functionality `ignorespace`