30

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.

1
  • 6
    Although I can't see it documented anywhere, the fish comment character, like other shells, is # Commented Feb 23, 2015 at 1:19

1 Answer 1

47

The comment sign is #, as glenn jackman suggested.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.