-
Notifications
You must be signed in to change notification settings - Fork 129
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
Treat msys2 bash shell as Linux by default #377
Comments
The way it currently works is that we look at the I think that having windows as the default platform in Git Bash is still correct. I suppose that you don't want to always type There is also a PR that changes the lookup rules so that all platforms are checked, which would also solve your problem. It has been stale for a while though. |
See #378 |
If anyone is wondering how I solved my situation, I simply added alias tldr='tldr --platform linux ' in my .bashrc |
With msys2 installed on Windows 11, ran from Msys2 bash shell, tealdeer thinks the platform is Windows, but the platform should be treated as linux.
For example,
Get-Childitem
doesn't work on msys2 bash but tealdeer shows tldr-page entry forGet-Childitem
Powershell cmdlet.On the otherhand,
pacman
is the package manager for msys2 but tealdeer doesn't show its tldr-page entry ontldr pacman
Edit: also applicable to Git Bash on Windows o/s
The text was updated successfully, but these errors were encountered: