github chrisant996/clink v1.3.3

latest releases: v1.7.3, v1.7.2, v1.7.1...
2 years ago

Try out these color settings!

Setting these will make executable files be colored in blue, and unrecognized commands be colored in red. (If you've used the fish shell before, this will be very familiar.)

clink set color.executable sgr 38;5;32
clink set color.unrecognized sgr 38;5;203

Changes in v1.3.3

  • Match completion display calculates column widths to fit the most columns on the screen. Can be controlled by the match.fit_columns and match.limit_fitted_columns settings.
  • Match descriptions are right-justified when more than one column is displayed, to help more columns fit.
  • When multiple columns of matches are displayed with descriptions, the descriptions are bracketed with parentheses for readability and accessibility purposes.
  • F1 in clink-select-complete toggles between showing descriptions at the bottom vs with the matches.
  • Added match.substring setting that uses a substring search for completions if none are found with a prefix search.
  • Added color.executable and color.unrecognized settings. When set, these cause the command word (the first word) to be colored if it is recognized as an executable file, or is not recognized as a command, doskey macro, directory, argmatcher, or executable file. Lookups are asynchronous for optimum responsiveness while typing.
  • Argmatchers can hide certain flags (e.g. synonyms) by using argmatcher:hideflags().
  • Argmatchers can disable sorting matches by using argmatcher:addargunsorted() or argmatcher:addflagsunsorted().
  • Generators can disable sorting matches by using match_builder:setnosort().
  • Fixed duplicated closing quote in clink-select-complete.
  • Fixed display of non-directory matches that contain slashes, such as git branch names (regression introduced in v1.3.1).
  • Fixed match display filtering in clink-select-complete (regression introduced in v1.3.1).
  • Fixed the insert-comment command (regression introduced in v1.2.44).
  • Fixed sorting flag completions so that all - flags precede any -- flags.
  • Fixed a couple of memory leaks, and added memory tracking system to more easily catch leaks.
  • Various minor fixes in clink-select-complete.

Don't miss a new clink release

NewReleases is sending notifications on new releases.