Releases: chrisant996/clink
Releases · chrisant996/clink
v1.2.8
- Fixed
...\
or.../
to change directories (path separator after several dots). - Fixed
/dirname/
to change directories (forward slashes when a directory is the only thing in the input line). - Fixed #114; "Clink already loaded in process" error when autorun is installed for both Current User and All Users.
- Fixed #113; forward slash translation didn't work with the
cd
command.
v1.2.7
- Fixed #113;
clink.slash_translation()
had been removed (regression introduced in v1.0.0).- The new
match.translate_slashes
setting controls the default behavior for slash translation for completion matches. - The new
clink.translateslashes()
API can override slash translation for completion matches (andclink.slash_translation()
is supported for backward compatibility).
- The new
v1.2.6
- Fixed tilde expansion for directory by itself; now
~\
can change the working directory to the~
directory. - Fixed pagination when displaying completions that take more than 1 line to display.
- Fixed inserting directory match completions when a Lua script didn't include a trailing path separator in the directory match.
- Fixed #111;
..
completion is different from bash.
v1.2.5
- Added
os.expandenv()
function to expand environment variables in a string. - Added
console.cellcount()
function to count the cells a string will use when displayed. - Added
console.plaintext()
function to remove ANSI escape codes from a string. - Clink now sets
%=clink.bin%
that points to the Clink binaries directory. This can be particularly useful for a portable installation of Clink so that scripts can find the Clink binaries directory and construct relative paths to other nearby files. - Clean up column alignment in
--help
texts. - Fixed
history.sticky_search
with anchored history search. - Fixed
clink inject --profile
to use correct log file name while initially injecting. - Fixed Clink autorun to be more compatible with Cmder (Cmder #2536).
v1.2.4
- Added support for Shift+Arrows to select text and typing to replace selected text.
- Added optional argument to
word_classifications:classifyword()
andword_classifications:applycolor()
to allow only applying color where another color hasn't yet been applied. - Fixed first Up after reusing a history line so that it gets the reused history line, rather than getting the previous history line.
- Fixed
add-history
command to not add blank lines to history. - Fixed
rl.setmatches()
(regression introduced in v1.1.26). - Fixed input coloring for
clink set
and any color setting name (regression introduced in v1.2). - Fixed potential crash with
clink history --session
. - Fixed Ctrl+D when
cmd.ctrld_exits
is disabled; it didn't exit, but it did still discard the input line and start a new prompt. - Fixed #107; autorun reports inject failures (regression introduced in v1.2.3).
- Fixed #106; history missing
--bare
option (regression introduced in v1.2.3).
v1.2.3
- Added
history.sticky_search
setting: when enabled, reusing a history line does not add the reused line to the end of the history, and it leaves the history search position on the reused line so next/prev history can continue from there (e.g. replaying commands via Up several times then Enter, Down, Enter, etc). - Added failure reporting and logging when
clink inject
fails. - Added
--unique
flag for use withclink history compact --unique
to remove duplicate entries from the history list. - The
clink-popup-complete
command now matches wildcards. - Restored the Ctrl+Alt+U key binding from v0.4.9 (moves the current working directory up one level).
- Fixed searching for inputrc files to also search in the profile directory (regression introduced in v1.0.0).
- Fixed incremental search in the History popup list to search in reverse order (bottom to top).
- Fixed
clink-popup-history
to set the history search position like other history search commands do, so that it plays well with thehistory.sticky_search
setting.
v1.2.2
v1.2.1
v1.2.1
- Added Troubleshooting Tips section in the documentation.
- Added backward compatibility for
clink set
with v0.4.9. Old setting names and values are not documented, but are automatically mapped to the appropriate new setting(s). This was done so that suggestions in old web sites and posts can usually continue to work, to reduce confusion and support burden. - Fixed #97; VS2017 error C2039: 'min': is not a member of 'std'.
- Fixed #96; wrong setting string (the name of a setting was accidentally truncated).
- Fixed some slightly inaccurate/incomplete migration from old settings to new settings.
v1.2
This is the first official release from the chrisant996/fork of Clink.
v1.1.48
This is a release candidate build.
This release candidate build seems to be working very well for me, even when copied into an existing Cmder\vendor\clink directory. Be sure to make a backup copy of your Cmder installation before copying Clink into an existing Cmder installation!
If this release candidate survives until April 2 without needing to be updated, the version number will be updated and it will become an official release version.
v1.1.48
- Added
clink.getansihost()
function to get Clink's best guess who will process ANSI escape codes (can be useful for avoiding 256 bit and 24 bit color codes, for example). - Added detection for being hosted in ConsoleZ.
- Fixed #20;
set /p VAR=""
shows the normal command prompt text instead of empty prompt text.