Skip to content

Commit 21327ed

Browse files
authored
Alias for published sail script (#7211)
1 parent 62102ef commit 21327ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sail.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ By default, Sail commands are invoked using the `vendor/bin/sail` script that is
6464
However, instead of repeatedly typing `vendor/bin/sail` to execute Sail commands, you may wish to configure a Bash alias that allows you to execute Sail's commands more easily:
6565

6666
```bash
67-
alias sail='bash vendor/bin/sail'
67+
alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail'
6868
```
6969

7070
Once the Bash alias has been configured, you may execute Sail commands by simply typing `sail`. The remainder of this documentation's examples will assume that you have configured this alias:

0 commit comments

Comments
 (0)