Powerful scripting language & versatile interactive shell add sylixos support.
Go to file
Kurtis Rader 3ded2fb772 Replace prclose and pwclose with file:close
Rather than having specialized commands make a `file:pipe` object
indexable so we can use the generic `file:close` command. This does not
address existing problems; such as builtins not failing when writing to
a `file:pipe` object if the read-end is closed.

Related #1316
2021-05-22 20:55:53 -07:00
.github/workflows Tweak the sourcegraph action. 2021-02-21 23:51:08 +00:00
cmd pkg/cli: Simplify the TTY interface by making it embed term.Writer. 2021-03-19 21:40:32 +00:00
pkg Replace prclose and pwclose with file:close 2021-05-22 20:55:53 -07:00
tools tools/run-race.sh: Use race detector on all supported platforms. 2021-05-08 01:40:50 +01:00
website Fix Markdown style. 2021-05-10 00:21:32 +01:00
.cirrus.yml Remove step to deploy to bintray in Cirrus CI config. 2021-05-06 11:32:24 +01:00
.codecov.yml Copy and trim down the net/rpc package. 2021-01-30 23:56:58 +00:00
.dockerignore Update .dockerignore. 2018-10-16 10:19:20 +01:00
.gitattributes Use .gitattributes to filter go sources through goimports 2014-02-10 12:41:16 +08:00
.gitignore Rename coverage file to "cover". 2020-08-16 17:04:02 +01:00
.gitlab-ci.yml Test and build in parallel. 2021-05-10 01:02:58 +01:00
0.16.0-release-notes.md Replace prclose and pwclose with file:close 2021-05-22 20:55:53 -07:00
CONTRIBUTING.md Remove the NEXT-RELEASE.md symlink. 2021-05-03 22:30:30 +01:00
Dockerfile Lock image versions in Dockerfile 2021-03-19 23:14:10 +00:00
go.mod Use the integrated persistent package. 2021-05-03 22:17:46 +01:00
go.sum Use the integrated persistent package. 2021-05-03 22:17:46 +01:00
LICENSE Project rename: das -> elvish 2014-01-29 18:44:07 +08:00
Makefile Use a dedicated script to determine whether to use race detector. 2021-05-05 22:43:38 +01:00
PACKAGING.md PACKAGING.md: The guide applies to releases from 0.16.0, not 0.15.0 2021-01-31 02:32:04 +00:00
README.md Document new Matrix room. 2021-02-18 10:57:54 +00:00

Elvish: Expressive Programming Language + Versatile Interactive Shell

CI status FreeBSD test status gccgo test status Test Coverage Go Report Card GoDoc Twitter

Elvish is an expressive programming language and a versatile interactive shell, combined into one seamless package. It runs on Linux, BSDs, macOS and Windows.

Despite its pre-1.0 status, it is already suitable for most daily interactive use.

Visit the official website https://elv.sh for prebuilt binaries, blog posts, documentation and other resources.

User groups (all connected thanks to Matrix): Gitter Telegram Group #elvish on freenode #users:elves.sh

Building Elvish

Most users do not need to build Elvish from source. Prebuilt binaries for the latest commit are provided for Linux amd64, macOS amd64, Windows amd64, and many other platforms.

To build Elvish from source, you need

  • A supported OS: Linux, {Free,Net,Open}BSD, macOS, or Windows.

    NOTE: Windows support is experimental, and only Windows 10 is supported.

  • Go >= 1.15.

To build Elvish from source, follow these steps:

# 1. Start from any directory you want to store Elvish's source code
# 2. Clone the Git repository
git clone https://github.com/elves/elvish
# 3. Change into the repository
cd elvish
# 4. Build and install Elvish
make get

This will install Elvish to ~/go/bin; you might want to add it to your PATH.

To install it elsewhere, override GOBIN in the make command:

make get GOBIN=$PWD # Install to the repo root (use $pwd if running in Elvish)
make get GOBIN=/usr/local/bin # Install to /usr/local/bin

Note that GOBIN must be an absolute path.

Packaging Elvish

See PACKAGING.md for notes for packagers.

Contributing to Elvish

See CONTRIBUTING.md for notes for contributors.