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

A little article in Documentation, explaining auto-completion #6103

Closed
1 task done
MikhailLipanin opened this issue Jan 17, 2025 · 4 comments · Fixed by #6122
Closed
1 task done

A little article in Documentation, explaining auto-completion #6103

MikhailLipanin opened this issue Jan 17, 2025 · 4 comments · Fixed by #6122
Assignees
Labels
📖 docs A documentation change/addition 💤 stale

Comments

@MikhailLipanin
Copy link

Code of Conduct

  • I agree to follow this project's Code of Conduct

What would you like to see changed/added?

I am using WSL with Ubuntu. Using just instructions in oh-my-posh completion bash --help did not helped me - auto-completion does not work.

So, it would be great, if we could have an article with explanation of installing auto-completion, WDYT?

@MikhailLipanin MikhailLipanin added the 📖 docs A documentation change/addition label Jan 17, 2025
JanDeDobbeleer added a commit that referenced this issue Jan 26, 2025
@JanDeDobbeleer
Copy link
Owner

@MikhailLipanin these are provided by Cobra (CLI library), and as I'm not inclined to maintain their docs, not troubleshoot this I'm removing this functionality. There's little need to use the oh-my-posh CLI and requiring completions.

@MikhailLipanin
Copy link
Author

@JanDeDobbeleer By the way, if I switched my prompt to oh-my-posh (in WSL Ubuntu), do I have the way, to enable auto-completion? May be you know some plugins for that?

Earlier, I've used another upgraded shell (oh-my-zsh), and there was auto-complete plugin - as I know, there is a simple realization, that allows on pressing Tab button to select next suggestion, and, by default, suggests the last used command.

I think that this feature is very helpful, and saves a lot of time: for example, if u in a folder, where u don't know which files/directories are there, you can just select the next destination u need, by pressing Tab button. And, on the other side, if you execute the same commands in definite directories, you just use the default suggestion.

@JanDeDobbeleer
Copy link
Owner

@MikhailLipanin just look for auto completions for the shell you're using. There's probably tons out there.

JanDeDobbeleer added a commit that referenced this issue Feb 8, 2025
JanDeDobbeleer added a commit that referenced this issue Feb 9, 2025
JanDeDobbeleer added a commit that referenced this issue Feb 23, 2025
Copy link

stale bot commented Feb 24, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📖 docs A documentation change/addition 💤 stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants