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
commit 23bd812b0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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