From efe352db6d8affd980be1427d6735e0f262a88a3 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 5 Nov 2019 15:18:51 +0200 Subject: [PATCH] Cleanup running .vsh explanation. --- V-for-Bash-script-developers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/V-for-Bash-script-developers.md b/V-for-Bash-script-developers.md index 8abdf7b..d31067d 100644 --- a/V-for-Bash-script-developers.md +++ b/V-for-Bash-script-developers.md @@ -6,9 +6,9 @@ By doing so, v will make functions inside the os module automatically available You also will not need to specify the main function (that is a work in progress, for now, please do so ... simple linear examples work, but for now v scripting is more stable with a `fn main(){}` ). -To run your .vsh scripts, on *nix platforms, just run `chmod +x script.vsh` then you can start them like any other script with ./script.vsh . +To run your .vsh scripts, on *nix platforms, just set the executable bit for your script with for example `chmod +x script.vsh` . After that, you can start the script like any other executable, with `./script.vsh` . -On windows, you have to associate the .vsh file extension with v.exe , after that just double click your script.vsh file. +On Windows, you have to associate the `.vsh` file extension with `v.exe` . After that, just double click your `script.vsh` file in Windows Explorer.
Hello World