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:
parent
af0f3639ec
commit
23bd812b0c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue