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

mklink issue on windows #991

Open
Chaprnks opened this issue Feb 18, 2024 · 1 comment
Open

mklink issue on windows #991

Chaprnks opened this issue Feb 18, 2024 · 1 comment

Comments

@Chaprnks
Copy link

Chaprnks commented Feb 18, 2024

  • os: Windows 11
  • lsd --version: 1.0.0

Installation

Placed all contents of github release in system directory. Also ensured that this directory is included in windows environment paths.
C:\Windows\System\

variables

Expected behavior

I tried to mklink the original lsd.exe -> ls.exe, so I can use ls drop-in replacement for windows.
mklink "C:\Windows\System\ls.exe" "C:\Windows\System\lsd.exe"

expected

Actual behavior

`error: unexpected argument '--show-control-chars' found

note: to pass '--show-control-chars' as a value, use '-- --show-control-chars'

Usage: ls [OPTIONS] [FILE]...`

actual

@zwpaper
Copy link
Member

zwpaper commented Feb 25, 2024

looks like you were still calling the original ls command.

you could try:

  1. calling the abs path of symblink C:\Windows\System\ls.exe
  2. put the symblink under another dir, and put the dir in the beginning of PATH env

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