Skip to content

Commit ec5285f

Browse files
committed
clarify local script running
1 parent 385340e commit ec5285f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/faq.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ outputs:
8383
8484
There are two ways to reference a local script:
8585
86-
The first method involves adding the folder containing your scripts to the `PATH` environment variable. This allows you to run the shell script without using `sh` or `bash` commands.
86+
The first method involves adding the folder containing your scripts to the `PATH` environment variable.
87+
This allows you to run the shell script directly without using `sh` or `bash` commands.
8788

8889
Start with adding a _shebang_ at the top of your file:
8990

@@ -97,7 +98,7 @@ Finally, modify your `PATH` to add the directory where your script is located.
9798
(It is good practice to use `$HOME/bin` for storing your own scripts).
9899

99100
```bash
100-
export PATH=$PATH:/appropriate/directory
101+
export PATH=$PATH:$HOME/bin
101102
```
102103

103104
Now you can use `baseCommand: scriptname.sh` to run the script directly.

0 commit comments

Comments
 (0)