Open
Description
It would be nice if there was a desk load
or some such subcommand which would load a desk's script without leaving the current shell instance. This would be useful for allowing one to share some common desk setup among other desks. For instance, say I want to have some script setup some environment variables that will be common to other desks as well. Currently, as far as I can tell, the only way to do this is with something like:
# load the common code
. $(dirname $0)/common.sh
# start setting up the subdesk
when it would be much nicer just to be able to do something like:
# load the common code
desk load common
# start setting up the subdesk