News for hackers. Stuff that matters.
Re:Path Isn't Real on Linux by codesnik on Tuesday April 29, 2025 @10:47PM (#43840720)
but zsh has "rehash"? for as long as I remember.
Re:Path Isn't Real on Linux by ninkendo on Tuesday April 29, 2025 @10:55PM (#43840794)
Bah, you’re right! I got it backwards, it’s zsh that has rehash, bash does not. And hash -r works in both.

I guess I’ve been using zsh longer than I thought, because I learned about rehash first, then made the switch to hash -r later. I started using zsh 14 years ago, and bash 20+ years ago, so my brain assumed “I learned about rehash first” must have been back when I was using bash. zsh is still “that new thing” in my head.

Re:Path Isn't Real on Linux by macrocosmos on Tuesday April 29, 2025 @11:17PM (#43840916)
If there is something nice that one has and one does not have. zsh is the one that has it.
Re:Path Isn't Real on Linux by semiquaver on Wednesday April 30, 2025 @09:02AM (#43844646)
Counterpoint, /dev/udp pseudo-devices in bash.