From 23bd812b0c531dbb6a9854a81030468bbae29cd8 Mon Sep 17 00:00:00 2001 From: Heechul Ryu Date: Thu, 26 Jan 2023 03:43:55 -0800 Subject: [PATCH] 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 --- doc/nims.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/nims.md b/doc/nims.md index a69ea1789c..2409bb577d 100644 --- a/doc/nims.md +++ b/doc/nims.md @@ -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