souvikinator / lsx

ls Xtended : A command line utility that lets you navigate through terminal like a pro 😎.
MIT License
174 stars 9 forks source link

Windows support #16

Open souvikinator opened 2 years ago

souvikinator commented 2 years ago

For lsx to work in windows, on needs to port install.sh and lsx.sh to powershell script.

itslychee commented 2 years ago

You probably might want to use batch for this, if possible, because PowerShell by default disallows script execution. It's really wild

zQueal commented 2 years ago

Little bit bigger than that. lsx compiles just fine for windows, but there's a persistent error regardless of input;

lsx error: some error occured
 list size -3 must be greater than 0

But most other commands work fine;

❯ lsx set-alias -p "C:/Users/zqueal/Downloads" -n downloads
INFO: done

But they won't work;

  Users 
❯ lsx downloads