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

Can it be used in Windows Cmd using Clink .lua script ? #135

Open
JehadurRE opened this issue Jun 22, 2024 · 1 comment
Open

Can it be used in Windows Cmd using Clink .lua script ? #135

JehadurRE opened this issue Jun 22, 2024 · 1 comment

Comments

@JehadurRE
Copy link

Can it be used it Windows Cmd using Clink .lua script ?

@JehadurRE JehadurRE changed the title Can it be used it Windows Cmd using Clink .lua script ? Can it be used in Windows Cmd using Clink .lua script ? Jun 22, 2024
@mattcargile
Copy link

mattcargile commented Jun 26, 2024

No I don't believe it can unless you call powershell directly, as this module is pure powershell. Theoretically you could write some lua to output the icons but that would be challenging. You could also "shell out" to powershell.exe to list the current directory. That seems like overkill though. Why not use powershell.exe itself or PowerShell Core.

You may want to check out eza and call it like

eza -al --icons

The repo is here. You can install with Scoop in Powershell like below.

scoop install eza

Then you can call it in cmd.

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

No branches or pull requests

2 participants