Update nims.md to use nim e instead of nim in advanced shebang (#21301)

Update nims.md

- suggest a better shebang that works with any filename
- related to https://github.com/nim-lang/Nim/issues/17190
This commit is contained in:
Heechul Ryu
2023-01-26 03:43:55 -08:00
committed by GitHub
parent af0f3639ec
commit 23bd812b0c

View File

@@ -211,7 +211,7 @@ ends with ``.nims``:
echo "hello world"
```
Use `#!/usr/bin/env -S nim --hints:off` to disable hints.
Use `#!/usr/bin/env -S nim e --hints:off` to disable hints and relax the file extension constraint.
Benefits