Skip to content

Commit

Permalink
Minor updates to git and dirx completions.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisant996 committed Mar 30, 2024
1 parent 651b979 commit a7a322b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions completions/dirx.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ local helps = clink.argmatcher():_addexarg({
{ "defaultcolors", "Print the default color string" },
{ "icons", "Help on icons and Nerd Fonts" },
{ "pictures", "Help on format pictures" },
{ "printallicons", "Print a list of all icons" },
{ "regex", "Help on regular expression syntax" },
})

Expand Down
2 changes: 2 additions & 0 deletions git.lua
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ local function catchall(token) -- luacheck: no unused args
f:close()
end

res:sort()

if clink.onbeginedit then
cached_commands = res
end
Expand Down

0 comments on commit a7a322b

Please sign in to comment.