Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
nhooyr
3y ago
0 comments
Share
You can trivially sidestep this with a main shell function called at the end of your script.
https://github.com/terrastruct/d2/blob/729b12685af79bbdaf4b3...
undefined | Better HN
0 comments
default
newest
oldest
dllthomas
3y ago
Kinda! The author of the script can trivially avoid the problem. The person pasting "curl ... | bash" into their terminal needs to rely on them having done so, which (last I looked) they too often haven't.
j
/
k
navigate · click thread line to collapse