Skip to content

Commit

Permalink
allow to auto-complete inside :count
Browse files Browse the repository at this point in the history
Summary:
as title

This was a humbling experience, takeaways:
ishouldlearnhaskell
so that i can actually read it...

Reviewed By: malanka

Differential Revision: D67859789

fbshipit-source-id: 1218615d5cd3707ac37f99b8e9541cc421457d07
  • Loading branch information
Kinga Bojarczuk authored and facebook-github-bot committed Jan 7, 2025
1 parent d38e650 commit 7bee382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glean/shell/Glean/Shell.hs
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ commands =
, Cmd "timeout" Haskeline.noCompletion $ \str _ -> timeoutCmd str
, Cmd "expand" (completeWords (pure ["on", "off"])) $ \str _ -> expandCmd str
, Cmd "pager" (completeWords (pure ["on", "off"])) $ \str _ -> pagerCmd str
, Cmd "count" Haskeline.noCompletion $ \str _ -> countCmd str
, Cmd "count" (completeWords availablePredicates) $ \str _ -> countCmd str
, Cmd "!restore" Haskeline.noCompletion $ const . restoreDatabase
, Cmd "!kickoff" Haskeline.noCompletion $ const . kickOff
, Cmd "!delete" completeDatabases $ const . deleteDatabase
Expand Down

0 comments on commit 7bee382

Please sign in to comment.