diff --git a/completions/dirx.lua b/completions/dirx.lua index 31ea7eb..f072d93 100644 --- a/completions/dirx.lua +++ b/completions/dirx.lua @@ -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" }, }) diff --git a/git.lua b/git.lua index bb87dce..6f95b10 100644 --- a/git.lua +++ b/git.lua @@ -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