New to elvish and playing with the prompt, trying to set a fancy one with this prompt.elv
I am calling elvish ~/.elvish/prompt.elv in my rc.elv (Also tried calling prompt.elv directly at the prompt) but getting this error:
Exception: compilation error: cannot find variable $edit:prompt
~/.local/share/elvish/lib/github.com/zzamboni/elvish-themes/chain.elv, line 289: set edit:prompt = $prompt~
~/.elvish/prompt.elv, line 16: use github.com/zzamboni/elvish-themes/chain
Exception: elvish exited with 2
~/.elvish/rc.elv, line 5: elvish ~/.elvish/prompt.elv