core-agent-linux/qubes-rpc/qubes-open
Marek Marczykowski-Górecki aad6fa6d19
Hint shellcheck where to look for sourced files, if in repository
This will ease running shellcheck from the repository.
2017-09-30 05:05:34 +02:00

13 lines
346 B
Bash

#!/bin/sh
if [ -r /etc/profile.d/qubes-session.sh ]; then
# shellcheck disable=SC1091
. /etc/profile.d/qubes-session.sh
fi
# gvfs-open, kde-open, and possibly others don't wait for editor to be
# closed, which is critical behaviour for DisposableVM (which gets destroyed
# after this process exits)
export DE=generic
exec xdg-open "$@"