fish shell shows error in piping - new error

465 Views Asked by At

enter image description hereI am getting multiple errors from shell init scripts which more or less seem the same:

~/.local/share/omf/pkg/z/functions/z.fish (line 11): Expected a string, but instead found a pipe

' bash $argv ^| read -l Z_PWD

I looked at all the files that are generating these errors and none of them has changed in months, if not years - though I can see the offensive line.

%> /usr/bin/fish --version                                                                           
Sat 22:15
fish, version 3.1.2

EDIT: Added a screen capture of what I see everytime I fork a shell.

If you have some thoughts on what gives and how I can fix it, appreciate it.

Thanks!

Cheers; 'best, shankar

1

There are 1 best solutions below

1
On

You need to update the z plugin for Oh My Fish, to pick up this commit:

omf update z