./shells/elvish, Expressive programming language and a versatile interactive shell

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.21.0nb1, Package name: elvish-0.21.0nb1, Maintainer: mj

Elvish is a friendly interactive shell and an expressive programming language.
Despite its pre-1.0 status, it is already suitable for most daily interactive
use.


Master sites:

Filesize: 935.713 KB

Version history: (Expand)


CVS history: (Expand)


   2024-09-06 20:49:02 by Benny Siegert | Files touched by this commit (180) | Package updated
Log message:
Revbump all Go packages after go122 update
   2024-08-14 19:30:21 by pin | Files touched by this commit (3) | Package updated
Log message:
shells/elvish: update to 0.21.0

Elvish 0.21.0 has been released on 2024-08-14, six months after 0.20.0, bringing
new features and bugfixes.

As usual, [prebuilt binaries](https://elv.sh/get) are offered for most common
platforms.

# Notable new features

-   A new [`with`](../ref/language.html#with) command for running a lambda with
    temporary assignments.

-   A new [`keep-if`](../ref/builtin.html#keep-if) command.

-   The [`os`](../ref/os.html) module has gained the following new commands:
    `mkdir-all`, `symlink` and `rename`.

-   A new [`render-styledown`](../ref/builtin.html#render-styledown) command.

-   A new [`str:repeat`](../ref/str.html#str:repeat) command.

-   A new [`md`](../ref/md.html) module, currently containing a single function
    `md:show` for rendering Markdown in the terminal.

-   On Unix, Elvish now turns off output flow control (IXON) by default, freeing
    up <kbd>Ctrl-S</kbd> and <kbd>Ctrl-Q</kbd> for \ 
keybindings.

    Users who require this feature can turn it back on by running `stty ixon`.

# 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.

-   Temporary assignments now work correctly on map and list elements
    ([#1515](https://b.elv.sh/1515)).

-   The terminal line editor is now more aggressive in suppressing compilation
    errors caused by the code not being complete.

    For example, during the process of typing out `echo $pid`, the editor no
    longer complains that `$p` is undefined when the user has typed `echo $p`.

# Deprecations

-   The implicit cd feature is now deprecated. Use `cd` or location mode
    instead.

# Breaking changes

-   The `eawk` command, deprecated since 0.20.0, has been removed. Use
    [`re:awk`](../ref/re.html#re:awk) instead.

-   Support for the legacy `~/.elvish` directory, deprecated since 0.16.0, has
    been removed. For the supported directory paths, see documentation for
    [the Elvish command](../ref/command.html).

-   Support for the legacy temporary assignment syntax (`a=b command`),
    deprecated since 0.18.0, has been removed.

    Use either the [`tmp`](../ref/language.html#tmp) command (available since
    0.18.0) or the [`with`](../ref/language.html#with) command (available since
    this release) instead.

-   The commands `!=`, `!=s` and `not-eq` now only accepts two arguments
    ([#1767](https://b.elv.sh/1767)).

-   The commands `edit:kill-left-alnum-word` and `edit:kill-right-alnum-word`
    have been renamed to `edit:kill-alnum-word-left` and
    `edit: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:

    ```elvish
    fn kill-alnum-word-left {
        if (has-key edit: kill-alnum-word-left~) {
            edit:kill-alnum-word-left
        } else {
            edit:kill-left-alnum-word
        }
    }
    ```

-   Using `else` without `catch` in the `try` special command is no longer
    supported. The command `try { a } else { b } finally { c }` is equivalent to
    just `try { a; b } finally { c }`.
   2024-08-11 17:57:15 by Benny Siegert | Files touched by this commit (176) | Package updated
Log message:
Revbump all Go packages after update
   2024-07-03 08:59:36 by Benny Siegert | Files touched by this commit (169) | Package updated
Log message:
Revbump all Go packages after go122 security update
   2024-06-13 15:47:13 by Benny Siegert | Files touched by this commit (169) | Package updated
Log message:
Revbump all Go packages after go122 update
   2024-06-01 16:03:06 by Benny Siegert | Files touched by this commit (168)
Log message:
Revbump all Go packages, default Go version is now 1.22.
   2024-04-05 21:14:14 by Benny Siegert | Files touched by this commit (161) | Package updated
Log message:
Revbump all Go packages after go121 update
   2024-02-15 22:27:48 by pin | Files touched by this commit (2) | Package updated
Log message:
shells/elvish: update to 0.20.1

 - Elvish 0.20.1 fixes a test that is failing on s370x. There are no \ 
user-visible changes.
   For changes since the 0.19.x series, see the 0.20.0 release notes.