aboutsummaryrefslogtreecommitdiff
path: root/GETTING-STARTED.md
diff options
context:
space:
mode:
Diffstat (limited to 'GETTING-STARTED.md')
-rw-r--r--GETTING-STARTED.md10
1 files changed, 3 insertions, 7 deletions
diff --git a/GETTING-STARTED.md b/GETTING-STARTED.md
index 020e098..e4a706a 100644
--- a/GETTING-STARTED.md
+++ b/GETTING-STARTED.md
@@ -234,13 +234,9 @@ fn main() {
}
```
-In your `build.rs`, generate the shell scripts:
-
-```rust
-// BUILD TIME
-// Features: ["comp", "build"]
-mingling::build::build_comp_scripts(env!("CARGO_PKG_NAME")).unwrap();
-```
+The completion scripts are generated automatically: with the `comp` feature enabled,
+`gen_program!()` invokes `build_comp!()` at compile time and writes the shell scripts
+(named after `CARGO_PKG_NAME`) into `target/mingling/`.
For enum-based completions, use `suggest_enum!`: