from Hacker News

I shouldn't of made this. Another direnv alternative for no reason

by willwade on 2/18/25, 12:45 PM with 12 comments

  • by jpkw on 2/22/25, 2:47 AM

    I will jump on the obvious error too but will provide some more context:

    You are typing what you hear in: "shouldn't've" which is a double contraction of "should not have"

    "I should not of made this" vs "I should not have made this"

  • by panxyh on 2/19/25, 1:14 PM

    Shouldn't have*

    That's one of my least favourite errors

  • by willwade on 2/18/25, 12:45 PM

    Maybe of interest to someone out there. I'm waiting to get flamed as its totally useless for many many people (I could of solved it with a simple powershell script but in the process I learnt go.. ) - but it solved my problem on my ridiculous Windows machine. Maybe someone else out there..
  • by pentaphobe on 2/23/25, 9:22 PM

    Glad you made this - whether it needs to exist or not seems far from relevant as reworking and rethinking things is why we have most of the coolest tools we take for granted :)

    Did you discover anything interesting in the process of building it?

  • by unsnap_biceps on 2/22/25, 2:55 AM

    I base64 decoded CONFIG_ENCRYPTION_KEY and it looks random vs some mock data. Wonder if it's the real key accidentally posted.
  • by arnath on 2/22/25, 2:34 AM

    What’s the value prop here vs set -a/+a? That it’s more tolerant of weird variable values?