Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to complete the resource path in the zsh environment #5075

Open
Carter-chao opened this issue Nov 5, 2024 · 2 comments
Open

Unable to complete the resource path in the zsh environment #5075

Carter-chao opened this issue Nov 5, 2024 · 2 comments

Comments

@Carter-chao
Copy link

Expected behavior

The oss resource path can be automatically completed

Actual behavior

Only the mc parameter can be automatically completed

Steps to reproduce the behavior

mc ls oss

mc --version

mc version RELEASE.2024-10-29T15-34-59Z (commit-id=9f4659884dd45dca726ba38ee6bfacb2bf776eb8)

System information

Ubuntu 22.04 + zhs + oh-my-zsh
zsh 5.8.1 (x86_64-ubuntu-linux-gnu)
oh-my-zsh
commit c690f731618959cba3b85500acee20ebf43e51c1 (HEAD -> master, origin/master)
Author: Marc Cornellà [email protected]
Date: Sun Oct 27 20:46:46 2024 +0100

after mc --autocompletion add line

autoload -U +X bashcompinit && bashcompinit
complete -o nospace -C /usr/local/bin/mc mc

@klauspost
Copy link
Contributor

This should already be done. Please clarify what your issue is.

@Carter-chao
Copy link
Author

mc cannot perform directory and filename completion in the ZSH environment, but switching to Bash allows it.
I have already executed the command "mc --autocompletion" and restarted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants