-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
Add detection/launcher for Powershell #159
Comments
broot detects some shells, but not powershell, because I can't test that (I have no windows box). I'd need some win10 rust developer to try adapt what is done for fish: https://github.com/Canop/broot/blob/master/src/shell_install/fish.rs#L94 |
@Canop If it helps PowerShell is open source and cross platform. https://github.com/PowerShell/PowerShell#get-powershell |
@PDQDakota Thanks, I didn't knew. It seems it's not the same version which is released with Windows, if I correctly understand the readme. And installing this on linux would probably not lead to the typical installation I want to detect. |
Last time I tried, I compiled broot with the rust compiler then used the full path to the compiled broot inside powershell |
PowerShell Core works fine on MacOS and Linux. It would be really great if you add support for it. |
I lack time to study powershell at the moment, even on linux, so I'd need help for this. |
I can confirm the script works like a dream with latest version. |
Script works perfectly indeed. (Powershell 7.3.1 Win 10) PS: I strongly suggest putting it in your |
Looks like this one can be closed now? |
In general it would be great if broot could detect which shell/environment it is running and install a suitable launcher; this issue in particular is for Powershell. Launchers have already been suggested in other issues, here's one take:
The text was updated successfully, but these errors were encountered: