just ran someone's script and it printed out the message "error: please check your /home/josef/bin:/home/josef/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games: environment variable"
@ekaitz_zarraga someone had done $PATH instead of \$PATH or whatever
@jk I had a script written by a coworker that overwrote PATH because he thought PATH was a great name for a variable.
The script exploded the next line when he wanted to do an ls.
:)
@ekaitz_zarraga @jk It's usually a good idea to make variables internal to a script lower case. That's what I do.
Then there are people who use actual local variables, but that's too annoying. 🙂
@jk that's your PATH, right?