I'm back on that other OS for work

allywilson@lemmy.ml to Linux@lemmy.ml – 214 points –

Muscle memory is causing all kinds of problems.

40

(neo)vi(m) supports multiple platforms including Windows, so no worries :)

If I'm stuck on a windows machine, one of the first packages I try to install is git-scm.org's BASH.

It's not actually Linux, but it's got a command line and enough programs to really help get work done.

There's even a portable version if you don't have admin rights on the device

Yes it's awesome, I use it with Microsoft terminal for tabs + themes, thanks to that I still have to learn how to use powershell

Why not just go full WSL?

I used WSL for a job and it worked fine. It's kind of a weird VM that doesn't really integrate with the host OS fully, but it works for many use cases.

Git BASH has more direct system integration and hardware access than WSL, though it's been a couple of years since I had to look at WSL at all. Hopefully they've improved the integration over time.

You should have a talk with your boss about NIST keypair :x

What's wrong about it?

I'm not OP but NIST is a very shady institution for various reasons:

Use anything NIST related with care. Use ED25519 or if not available, RSA with large key sizes (4096+).

This meme was not made by the Emacs gang.

I keep typing ls into the command prompt.
Generally it seems to try to do something then crash the cmd.exe process.

You'll wanna use PowerShell. It has its eccentricities when running programs but is a more shell like experience

I keep trying catalog but it doesn't do anything.

I installed Nix on WSL and then used that to get home-manager and thus my zsh and neovim configs working on Windows

That's what saved me too but I'm still stuck with unpredictable crashes, 150GB of HDD / 8GB of RAM lost in the void and bullshit ads for copilot in the lock screen ...

Dude just stick WSL on it. Makes the Winderps somewhat less torturous to deal with, though it’s not perfect because it’s still virtualized. Also your container performance is gonna absolutely suck due to the required virtualization layer.

WSL2 is pretty good. I get better performance running emberjs than my coworkers stuck on Mac do lol

I mean, yeah. Modern MBPs are all ARM architecture now, which introduces another translation layer into the virtualization.

The reason I have a "ls.bat" batch file on my Windows PC and a "d.sh" script in linux. Both added to my path, of course

I installed windows on an external drive for gaming. Now my arch install is stuck at a start job for some drive, wich causes it to time out and not boot completely. Couldn't be assed to fix it yesterday.

Also i installed nvim in windows for exactly that

Go to the fstab entry for that drive and add nofail to its options.

I assume this continues the boot process even if a drive is not found or something? Because if so you just solved another unrelated issue of mine while also saving me from ½ - 1 hour of troubleshooting/researching

1 more...

Pretty sure vim is available on Windows. Visual Studio Code allows vim actions.

Can you run in a VM? Use WSL?

I don't know why but this gave me the idea of running meterpreter locally lmao