Skip to content

Load a desk without launching a new shell instance #36

Open
@dead10ck

Description

@dead10ck

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions