Skip to content

Commit

Permalink
load now sources desk_env
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansch committed Sep 5, 2018
1 parent bad6c98 commit 5a8f631
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions desk
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@ cmd_load() {
echo "Desk $TODESK (${TODESK}${DESKEXT}) not found in $DESKS"
exit 1
else
echo "export DESK_NAME=${TODESK}"
echo "export DESK_ENV=${DESKPATH}"
echo "export DESK_NAME=\"${TODESK}\"; export DESK_ENV=\"${DESKPATH}\"; source \${DESK_ENV}"
fi
}

Expand Down

0 comments on commit 5a8f631

Please sign in to comment.