Following the instructions to load the chain theme fails in a clean elvish shell:
~> use github.com/zzamboni/elvish-themes/chain
Exception: Compilation error: variable $nil not found
/Users/daniel/.elvish/lib/github.com/zzamboni/elvish-themes/chain.elv, line 125: if (not-eq $branch $nil) {
[tty], line 1: use github.com/zzamboni/elvish-themes/chain
This is in Elvish version 0.12 installed from Homebrew on macOS. The shell has not been initialized beyond the instructions found in this repo.
~> ls -la ~/.elvish
total 0
drwx------ 2 daniel staff 64 Aug 24 02:42 .
drwxr-xr-x+ 68 daniel staff 2176 Aug 24 02:42 ..
~> use epm
~> epm:install github.com/zzamboni/elvish-themes
=> Installing github.com/zzamboni/elvish-themes
Cloning into '/Users/daniel/.elvish/lib/github.com/zzamboni/elvish-themes'...
remote: Enumerating objects: 202, done.
remote: Total 202 (delta 0), reused 0 (delta 0), pack-reused 202
Receiving objects: 100% (202/202), 63.68 KiB | 749.00 KiB/s, done.
Resolving deltas: 100% (98/98), done.
=> Installing dependencies: github.com/href/elvish-gitstatus
=> Installing github.com/href/elvish-gitstatus
Cloning into '/Users/daniel/.elvish/lib/github.com/href/elvish-gitstatus'...
remote: Enumerating objects: 30, done.
remote: Counting objects: 100% (30/30), done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 30 (delta 10), reused 26 (delta 6), pack-reused 0
Unpacking objects: 100% (30/30), done.
~> use github.com/zzamboni/elvish-themes/chain
Exception: Compilation error: variable $nil not found
/Users/daniel/.elvish/lib/github.com/zzamboni/elvish-themes/chain.elv, line 125: if (not-eq $branch $nil) {
[tty], line 1: use github.com/zzamboni/elvish-themes/chain