Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.

Commit 2c1c7f8

Browse files
committed
installer: trust mise configuration
1 parent 70b76a2 commit 2c1c7f8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

install.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,16 @@ configure_mise() {
358358
print_success "Added mise activation to $(basename "$profile_path")"
359359
print_info "Restart your terminal or run: source $profile_path"
360360
fi
361+
362+
# Trust the repository's .mise.toml to avoid warning messages
363+
cd "$repo_dir"
364+
if [[ -f ".mise.toml" ]]; then
365+
if mise trust >/dev/null 2>&1; then
366+
print_success "Trusted .mise.toml configuration"
367+
else
368+
print_info "Note: Run 'mise trust' in $repo_dir to avoid warning messages"
369+
fi
370+
fi
361371
}
362372

363373
# Run the main installer

0 commit comments

Comments
 (0)