Elvish: Difference between revisions

From NixOS Wiki
imported>Mic92
Created page with "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..."
 
imported>Mic92
No edit summary
Line 3: Line 3:
== Usage ==
== Usage ==


The following [https://github.com/zzamboni/vcsh_elvish/blob/master/.elvish/lib/nix.elv code] to use elvish with nixpkgs/nixos.
There is an [https://github.com/zzamboni/vcsh_elvish/blob/master/.elvish/lib/nix.elv elvish module],
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>.

Revision as of 12:47, 18 September 2017

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.