Yes, it's a sloppy practice often joked upon but the security concerns are overblown: Piping unknown code into bash feels scary (and it should), but running make can be just as dangerous. Some inst...
#!/bin/sh
export LC_ALL=C # to make sorting not depend on locale
# Ignore some well-known directories with many files
find_args='
-path /usr/lib/modules
-o -path /etc/ssl/certs
-o -path ...
Since you are using GNOME, these links are probably handled by gio (as opposed to xdg-open or exo-open). GIO and xdg-open use ~/.config/mimeapps.list to figure out how to open a certain link. The f...