What is Nostr?
Julia Evans /
npub1ym9…lm9y
2024-09-11 18:47:54

Julia Evans on Nostr: writing about PATH is so funny, it's like 1. just add “PATH=$PATH:/my/dir" to your ...

writing about PATH is so funny, it's like

1. just add “PATH=$PATH:/my/dir" to your shell config, no big deal
2. ok but uh also you need to worry about path ordering, maybe it has to be `PATH=/my/dir:$PATH` instead
3. oh also bash sometimes caches PATH lookups, so if that happens then you need to run `rehash`
4. oh yeah and also if there are spaces in your PATH, then you need to quote it every time you add to it, like `PATH=/my/dir:”$PATH”`
5. also sometimes commands are aliases or builtins
Author Public Key
npub1ym9ddu2qh7rda8pxklq4gxw2kxhtm4cgvdvdy64z6agwy88nhuhqcnlm9y