3

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

ShankarSwamy
  • 106
  • 1
  • 9

1 Answers1

1

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

omf update z
Zanchey
  • 1,941
  • 1
  • 15
  • 23
  • I pulled in that change. Curious this change from 2019 did not hit me till this week - likely something else changed somewhere and I have not been able to catch that! And worse, now I get this:~/.config/fish/functions/fish_prompt.fish (line 609): Expected a string, but instead found a pipe switch (python --version ^| tr '\n' ' ') ^ from sourcing file ~/.config/fish/functions/fish_prompt.fish called on line 1 of file /opt/anaconda3/etc/fish/conf.d/conda.fish from sourcing file ~/.config/fish/config.fish called during startup ... – ShankarSwamy Aug 24 '20 at 04:44