Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@soloturn
Copy link
Contributor

@soloturn soloturn commented May 29, 2025

command -v instead of command which, fixes #462

@praveenperera praveenperera requested a review from Copilot June 18, 2025 13:22
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses issue #462 by replacing the use of "command which" with the more reliable and standard "command -v" to locate the mcfly binary.

  • Replaces "command which mcfly" with "command -v mcfly" to improve binary lookup reliability.
Comments suppressed due to low confidence (1)

mcfly.fish:23

  • The replacement of 'command which mcfly' with 'command -v mcfly' correctly addresses the issue of unreliable binary lookup and should work consistently across environments.
    set -q MCFLY_PATH; or set -l MCFLY_PATH (command -v mcfly)

@praveenperera
Copy link
Collaborator

praveenperera commented Jun 18, 2025

LGTM!

@praveenperera praveenperera merged commit a7722ae into cantino:master Jun 22, 2025
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

command -v instead of command which

2 participants