docs: add the shebang line to the .vsh chmod-able example script (#8926)

pull/8928/head^2
pierlucg-xs 2021-02-23 11:14:14 -05:00 committed by GitHub
parent 34002c7c22
commit 864b5ee40b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -3890,6 +3890,7 @@ module global (so that you can use `mkdir()` instead of `os.mkdir()`, for exampl
An example `deploy.vsh`:
```v wip
#!/usr/bin/env -S v run
// The shebang above associates the file to V on Unix-like systems,
// so it can be run just by specifying the path to the file
// once it's made executable using `chmod +x`.