aboutsummaryrefslogtreecommitdiffstats
path: root/crates/turtle/src/command/client/init.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/turtle/src/command/client/init.rs')
-rw-r--r--crates/turtle/src/command/client/init.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/turtle/src/command/client/init.rs b/crates/turtle/src/command/client/init.rs
index bf9747bb..776100cf 100644
--- a/crates/turtle/src/command/client/init.rs
+++ b/crates/turtle/src/command/client/init.rs
@@ -8,7 +8,7 @@ mod xonsh;
mod zsh;
#[derive(Parser, Debug)]
-pub struct Cmd {
+pub(crate) struct Cmd {
shell: Shell,
/// Disable the binding of CTRL-R to atuin
@@ -27,7 +27,7 @@ pub struct Cmd {
#[derive(Clone, Copy, ValueEnum, Debug)]
#[value(rename_all = "lower")]
#[expect(clippy::enum_variant_names, clippy::doc_markdown)]
-pub enum Shell {
+pub(crate) enum Shell {
/// Zsh setup
Zsh,
/// Bash setup
@@ -115,7 +115,7 @@ $env.config = (
}
}
- pub fn run(self, settings: &Settings) {
+ pub(crate) fn run(self, settings: &Settings) {
if !settings.paths_ok() {
eprintln!(
"Atuin settings paths are broken. Disabling atuin shell hooks. Run `atuin doctor` to diagnose."