[Whonix-devel] feature request: source a script with executing anything

Patrick Schleizer patrick-mailinglists at whonix.org
Wed Jul 25 12:44:00 CEST 2018


For example /usr/bin/xdg-open has some functions (search_desktop_file,
get_key) that look fine that I don't want to copy/paste [1] [2] in my
script.

feature request:

I would like to have a feature to tell bash "source --no-exec
/usr/bin/xdg-open" or so which ignores all commands outside of shell
functions and just imports the shell functions from /usr/bin/xdg-open.

Cheers,
Patrick

[1] avoids attributing copyright
[2] avoids duplicate code


More information about the Whonix-devel mailing list