Elvish: Difference between revisions

From NixOS Wiki
imported>Dywedir
m Fix link
imported>Nix
m add Software/Applications subcategory
Line 6: Line 6:
that can be stored in <code>$HOME/.elvish/lib/nix.elv</code>.
that can be stored in <code>$HOME/.elvish/lib/nix.elv</code>.
After that it can loaded by adding <code>use nix</code> in <code>$HOME/.elvish/rc.elv</code>.
After that it can loaded by adding <code>use nix</code> in <code>$HOME/.elvish/rc.elv</code>.
[[Category:Applications]]

Revision as of 05:47, 20 September 2021

Elvish is a cross-platform shell suitable for both interactive use and scripting. It features a full-fledged, non-POSIX-shell programming language with advanced features like namespacing and anonymous functions, and a powerful, fully programmable user interface that works well out of the box.

Usage

There is an elvish module, that can be stored in $HOME/.elvish/lib/nix.elv. After that it can loaded by adding use nix in $HOME/.elvish/rc.elv.