mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-11-27 23:11:20 +08:00
9d2c6d9217
This addresses #1099. Also link to location mode from the elvdoc of cd (originally part of #1764).
1.3 KiB
1.3 KiB
Notable new features
-
The
os
module has gained the following new commands:mkdir-all
,symlink
andrename
. -
A new
md
module, currently containing a single functionmd:show
for rendering Markdown in the terminal.
Notable bugfixes
- The string comparison commands
<s
,<=s
,==s
,>s
and>=s
(but not!=s
) now accept any number of arguments, as they are documented to do.
Deprecations
- The implicit cd feature is now deprecated. Use
cd
or location mode instead.
Breaking changes
-
Support for the legacy
~/.elvish
directory has been removed. -
The commands
!=
,!=s
andnot-eq
now only accepts two arguments (#1767). -
The commands
edit:kill-left-alnum-word
andedit:kill-right-alnum-word
have been renamed toedit:kill-alnum-word-left
andedit:kill-alnum-word-right
, to be consistent with the documentation and the names of other similar commands.If you need to write code that supports both names, use
has-key
to detect which name is available:fn kill-alnum-word-left { if (has-key edit: kill-alnum-word-left~) { edit:kill-alnum-word-left } else { edit:kill-left-alnum-word } }