cantino / mcfly

Fly through your shell history. Great Scott!
MIT License
6.85k stars 178 forks source link

mcfly_prompt_command:14: no such file or directory: mcfly is home/.cargo/bin/mcfly #133

Closed areThereAnyUserNamesLeft closed 3 years ago

areThereAnyUserNamesLeft commented 3 years ago

Not an issue with mcfly - but it took me a while to debug and it might help others or stop further questions.

mcfly_prompt_command:14: no such file or directory: mcfly is home/.cargo/bin/mcfly

This message occurred on zsh.

The cause was an alias I had for the which command that was causing it's output to equal mcfly is home/.cargo/bin/mcfly rather than the path.

I was almost writing a PR until I realised the bug was my shell config 😄 .

Removing the alias solved the issue.

Thanks for mcfly - I'm looking forward to using it

areThereAnyUserNamesLeft commented 3 years ago

Closing only logged as I thought it may help others with the same issue.

cantino commented 3 years ago

Thanks for documenting this!

On Sat, Mar 13, 2021 at 9:50 AM Richard Pape @.***> wrote:

Closed #133 https://github.com/cantino/mcfly/issues/133.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cantino/mcfly/issues/133#event-4454073995, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAUO645NDTMO7DW3ZZK4I3TDOQWJANCNFSM4ZEBIZYA .