Powerful scripting language & versatile interactive shell add sylixos support.
Go to file
2018-01-21 01:14:39 +00:00
build Fix more package docstrings. 2017-12-31 21:19:02 +00:00
daemon Cosmetics. 2018-01-01 15:12:34 +00:00
edit eval: Change OpFunc to return error. 2018-01-21 00:26:57 +00:00
eval eval: Make ValuesOpFunc return an error. 2018-01-21 01:14:39 +00:00
getopt Cosmetics. 2018-01-01 15:12:34 +00:00
glob Fix minor issues found by gofmt, go vet, and misspell. 2017-12-14 01:28:07 +00:00
parse tt: Improve API. 2018-01-03 00:20:21 +00:00
program Command arguments in $args. 2018-01-09 01:12:44 +01:00
runtime Spawn daemon silently. 2018-01-14 18:00:13 +01:00
store Define a common interface for store.Store and daemon.Client. 2017-12-28 21:44:10 +00:00
sys fix overflows on req arg in ioctl 2018-01-16 15:18:46 +01:00
tt tt: Improve API. 2018-01-03 00:20:21 +00:00
util Cosmetics. 2018-01-01 15:12:34 +00:00
vendor Update deps 2018-01-05 03:53:45 +00:00
.appveyor.yml Re-enable sending coverage to coveralls. 2017-12-26 02:34:27 +00:00
.gitattributes Use .gitattributes to filter go sources through goimports 2014-02-10 12:41:16 +08:00
.gitignore Updated .gitignore (#303) 2017-01-12 00:17:28 +00:00
.travis.yml On TravisCU, don't build with go 1.8 on macOS 2017-12-15 02:45:17 +00:00
.vsts.sh Fix .vsts.sh again. 2017-12-07 01:07:20 +00:00
build-and-upload.elv build script: Build for Windows 386; fix indent 2017-12-21 10:55:28 +00:00
CONTRIBUTING.md CONTRIBUTING: Document all codegen deps. 2018-01-01 15:06:07 +00:00
Dockerfile update Dockerfile 2016-02-09 16:43:58 +08:00
Gopkg.lock Update deps 2018-01-05 03:53:45 +00:00
Gopkg.toml Update dep constraints. 2018-01-05 03:52:21 +00:00
LICENSE Project rename: das -> elvish 2014-01-29 18:44:07 +08:00
main.go New title and description. 2017-12-31 21:25:20 +00:00
Makefile Makefile: Disable PR coverage on AppVeyor. 2017-12-29 15:06:27 +00:00
README.md Improve contributing doc. 2018-01-01 14:58:28 +00:00

Elvish: Friendly and Expressive Shell

logo

Elvish is a cross-platform shell, supporting Linux, BSDs and Windows. It features an expressive programming language, with features like namespacing and anonymous functions, and a fully programmable user interface with friendly defaults. It is suitable for both interactive use and scripting.

... which is not 100% true yet. Elvish is already suitable for most daily interactive use, but it is neither complete nor stablized. Contributions are more than welcome!

This README documents the development aspect of Elvish. Other information is to be found on the website.

Build Status on Travis Build status on AppVeyor Build Status on VSTS Code Coverage on codecov.io Code Coverage on coveralls.io Go Report Card GoDoc License

Gitter Telegram Group #elvish on freenode Gitter for Developers Telegram Group for Developers #elvish-dev on freenode Twitter

Building Elvish

To build Elvish, you need

  • Go >= 1.8.

  • Linux, {Free,Net,Open}BSD, macOS, or Windows (Windows support is experimental).

If you would like to contribute code to Elvish, please read CONTRIBUTING.md.

The Correct Way

Elvish is a go-gettable package. To build Elvish, first set up your Go workspace according to How To Write Go Code, and then run

go get github.com/elves/elvish

The Lazy Way

Here is something you can copy-paste into your terminal:

export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
mkdir -p $GOPATH

go get github.com/elves/elvish

for f in ~/.bashrc ~/.zshrc; do
    printf 'export %s=%s\n' GOPATH '$HOME/go' PATH '$PATH:$GOPATH/bin' >> $f
done

The scripts sets up the Go workspace and runs go get for you. It assumes that you have a working Go installation and currently use bash or zsh.

The Homebrew Way

Users of macOS can build Elvish using Homebrew:

brew install --HEAD elvish

Name

In roguelikes, items made by the elves have a reputation of high quality. These are usually called elven items, but I chose "elvish" because it ends with "sh", a long tradition of Unix shells. It also rhymes with fish, one of the shells that influenced the philosophy of Elvish.

The word "Elvish" should be capitalized like a proper noun. However, when referring to the elvish command, use it in lower case with fixed-width font.

Whoever practices the Elvish way by either contributing to it or simply using it is called an Elf. (You might have guessed this from the name of the GitHub organization.) The official adjective for Elvish (as in "Pythonic" for Python, "Rubyesque" for Ruby) is Elven.