z: error message in startup screen

I am using fish 2.3 + fisherman in cygwin on Windows 7. Recently I upgraded fisherman and z plugin, and encountered this error while starting fish shell every time. Please check.

~/.config/fish/functions/__z_complete.fish (line 1): cat $Z_DATA | sed -e "s/|.*//" -e "s/^.*\$/\"&\"/g" | tr '\n' ' '
                                                                   ^
in command substitution
        called on line 0 of file ~/.config/fish/functions/__z_complete.fish

in function “__z_complete”
        called on line 32 of file ~/.config/fish/conf.d/z.fish

from sourcing file ~/.config/fish/conf.d/z.fish
        called on line 207 of file /usr/share/fish/config.fish

from sourcing file /usr/share/fish/config.fish
        called during startup

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 25 (12 by maintainers)

Most upvoted comments

You should have /bin in PATH so that cat, sed and tr can be accessed without stating its path. I don’t think that’s a unreasonable requirement.

@seagle0128 no problem, feel free to reach out to us if you face any more issues.