Search code examples
shellfish

I'm trying to run init 0 on fish shell but i get weird error


I was trying to run $init 0 and then this was the response by the fish shell. I was tweaking some part today but don't know what I might have messed up during the process. source: Error encountered while sourcing file “0/functions/git/vcs.git.present.fish”:


Solution

  • It seems like you have a function called init (from oh-my-fish or something?), and "0" is an invalid argument for that.

    Use command init if you want to refer to the command.