Search code examples
commentsfish

Adding comments in a fish shell function file


How do I add comments to a function a write for fish shell? Is it //. I can't seem to be able to tell. When I use //, sometimes when the function fails, it changes the user to the root directory.


Solution

  • The comment sign is #, as glenn jackman suggested.