News for hackers. Stuff that matters.
Re:Techniques I Use to Create a Great User Experience for Sh... by klysm on Friday September 13, 2024 @07:40PM (#41536183)
Gotta draw a line somewhere
Re:Techniques I Use to Create a Great User Experience for Sh... by edflsafoiewq on Friday September 13, 2024 @10:17PM (#41536988)
Yeah, but you could at least elif is mac then ... else unsupported end.
Re:Techniques I Use to Create a Great User Experience for Sh... by dspillett on Saturday September 14, 2024 @08:13AM (#41539313)
If you look at the next couple of lines of the code, it emits a warning if neither command is found, but carries on. Running without in this case works but it's not optimal, as described in the warning message.