216
submitted 1 year ago by [email protected] to c/[email protected]

Muscle memory is causing all kinds of problems.

all 43 comments
sorted by: hot top new old
[-] [email protected] 40 points 1 year ago

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

[-] [email protected] 29 points 1 year ago

Dear sirs, I call bullshit! There's no \n after the :wq!

[-] [email protected] 29 points 1 year ago

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.

[-] [email protected] 12 points 1 year ago

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

[-] [email protected] 5 points 1 year ago

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

[-] [email protected] 4 points 1 year ago
[-] [email protected] 0 points 1 year ago

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.

[-] [email protected] 2 points 1 year ago

WSL for me.

[-] [email protected] 24 points 1 year ago

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

[-] [email protected] 5 points 1 year ago
[-] [email protected] 16 points 1 year ago* (last edited 1 year ago)

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+).

[-] [email protected] 20 points 1 year ago

This meme was not made by the Emacs gang.

[-] [email protected] 13 points 1 year ago

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

[-] [email protected] 10 points 1 year ago

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 ...

[-] [email protected] 4 points 1 year ago

I strive for this kind of based level

[-] [email protected] 13 points 1 year ago

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

[-] [email protected] 7 points 1 year ago

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

[-] [email protected] 1 points 1 year ago

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

[-] [email protected] 1 points 1 year ago

Mobaxterm is your friend.

[-] [email protected] 10 points 1 year ago

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.

[-] [email protected] 7 points 1 year ago

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

[-] [email protected] 3 points 1 year ago

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

[-] [email protected] 9 points 1 year ago

Your work hasn't upgraded to Windows 11 yet, I see.

[-] [email protected] 1 points 1 year ago
[-] [email protected] 8 points 1 year ago

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

[-] [email protected] 9 points 1 year ago

Powershell has ls and other common linux commands built in, try it.

[-] [email protected] 6 points 1 year ago
[-] [email protected] 1 points 1 year ago

Word. First thing that gets installed by me on any windows install.

[-] [email protected] 4 points 1 year ago
[-] [email protected] 4 points 1 year ago* (last edited 1 year ago)

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

[-] [email protected] 7 points 1 year ago

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

[-] [email protected] 7 points 1 year ago

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

[-] [email protected] 6 points 1 year ago

Yes it does

[-] [email protected] 3 points 1 year ago

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

Can you run in a VM? Use WSL?

[-] [email protected] 0 points 1 year ago

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

this post was submitted on 29 Apr 2024
216 points (92.9% liked)

Linux

54491 readers
554 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS