Search code examples
fishtab-completion

Syntax error in Fish Shell path completion


I made the mistake of putting an ampersand (&) in a directory name. I renamed the directory, but now every time I change directory it prints an error message:

complete: Completion '[A list of directories' path]' contained a syntax error. Expected an argument, but found a '&'

I don't know where those path completions are stored. I looked into the folders listed in the $fish_complete_path list without luck...

This problem should be easy to fix, only I don't know where to look...


Solution

  • I also had fisherman installed. I uninstalled OMF, deleted fisherman files and plugins(I had z and get installed). Now it works. Not sure exactly which of those was the culprit.