mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-03 18:34:43 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user