You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using commit 5cd2d7c with Elvish v0.13 and the default prompts (both left and right). Example below where I originally launch the shell without the theme then call use to try to load it:
/usr/home/vendion> use github.com/zzamboni/elvish-themes/chain
/usr/home/vendion> read: Illegal option -d
prompt function error: sh exited with 2
(prompt here but not rendered)
read: Illegal option -d
prompt function error: sh exited with 2
(prompt here but not rendered)
I have even tried to manually define the segmants for the left and right prompts with the following and still get the same error:
chain:prompt-segments = [ su dir git-branch git-combined arrow ]
chain:rprompt-segments = [ (constantly (styled (whoami)✸(hostname) inverse)) timestamp ]
but I still get the same error as above.
The text was updated successfully, but these errors were encountered:
This error is produced by the href/elvish-gitstatus library (used by the git segments) and is caused by an incompatibility in the sh command, see href/elvish-gitstatus#3.
The best fix for this is to update to Elvish master and apply the patch from href/elvish-gitstatus#5 to use the new read-upto function instead of the external shell call.
Using commit 5cd2d7c with Elvish v0.13 and the default prompts (both left and right). Example below where I originally launch the shell without the theme then call
use
to try to load it:I have even tried to manually define the segmants for the left and right prompts with the following and still get the same error:
but I still get the same error as above.
The text was updated successfully, but these errors were encountered: