Skip to content

Commit 320e4da

Browse files
authored
Update README.md to show usage with functions as triggers
1 parent ce64452 commit 320e4da

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ if isinteractive()
1919
["@test", "@testset", "@test_broken", "@test_deprecated", "@test_logs",
2020
"@test_nowarn", "@test_skip", "@test_throws", "@test_warn", "@inferred"] =>
2121
:(using Test),
22-
["@about"] => :(using About; macro about(x) Expr(:call, About.about, x) end),
22+
["about, @about"] => :(using About; macro about(x) Expr(:call, About.about, x) end),
23+
["pager"] => :(using TerminalPager),
2324
])
2425
end
2526
```
@@ -41,4 +42,4 @@ Test
4142

4243
Scripts and such will still need to explicitly load their deps.
4344

44-
For more details, see the [docstring of `register_autoloads`](https://github.com/LilithHafner/BasicAutoloads.jl/blob/main/src/BasicAutoloads.jl#L6)
45+
For more details, see the [docstring of `register_autoloads`](https://github.com/LilithHafner/BasicAutoloads.jl/blob/main/src/BasicAutoloads.jl#L6)

0 commit comments

Comments
 (0)