D
D
Dima2021-04-15 11:49:27
zsh
Dima, 2021-04-15 11:49:27

The zsh terminal, when calling the application, refers to the old version of the program, how to fix it?

I installed version 4.26 via homebrew midnight-commander, but on the mc command an error occurs that refers to the absence of version 4.20 file:

zsh: no such file or directory: /usr/local/Cellar/midnight-commander/4.8.20/libexec/mc/mc-wrapper.sh


How to direct the call command to the correct version?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2021-04-16
@qpz

In the file ~/.bash_profile (in your case ~/.zshrc ) find the line alias mc= edit (specify the path to the current version of mc-wrapper) and save the changes
After that, run:
source ~/.zshrc

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question