diff options
| author | Ellie Huxtable <ellie@atuin.sh> | 2026-04-13 21:48:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-13 21:48:05 +0100 |
| commit | ce148460d41a54993bb33ef17ec59ab33e2a34f5 (patch) | |
| tree | feba0521a926a79d9bab85092b725fedf520baae | |
| parent | feat: autoinstall ai shell history hooks (#3399) (diff) | |
| download | atuin-ce148460d41a54993bb33ef17ec59ab33e2a34f5.zip | |
refactor: rename examples -> contrib (#3400)
<!-- Thank you for making a PR! Bug fixes are always welcome, but if
you're adding a new feature or changing an existing one, we'd really
appreciate if you open an issue, post on the forum, or drop in on
Discord -->
## Checks
- [ ] I am happy for maintainers to push small adjustments to this PR,
to speed up the review cycle
- [ ] I have checked that there are no existing pull requests for the
same thing
| -rw-r--r-- | contrib/pi/atuin.ts (renamed from examples/pi/atuin.ts) | 0 | ||||
| -rw-r--r-- | crates/atuin/src/command/client/hook.rs | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/examples/pi/atuin.ts b/contrib/pi/atuin.ts index 55c17cb8..55c17cb8 100644 --- a/examples/pi/atuin.ts +++ b/contrib/pi/atuin.ts diff --git a/crates/atuin/src/command/client/hook.rs b/crates/atuin/src/command/client/hook.rs index ab7f4b7d..6aa2bb28 100644 --- a/crates/atuin/src/command/client/hook.rs +++ b/crates/atuin/src/command/client/hook.rs @@ -10,7 +10,7 @@ use serde_json::Value; use super::history; const HOOK_EVENT_TYPES: &[&str] = &["PreToolUse", "PostToolUse", "PostToolUseFailure"]; -const PI_EXTENSION_SOURCE: &str = include_str!("../../../../../examples/pi/atuin.ts"); +const PI_EXTENSION_SOURCE: &str = include_str!("../../../../../contrib/pi/atuin.ts"); enum InstallKind { JsonHooks { |
