jamesob / desk

A lightweight workspace manager for the shell
MIT License
2.54k stars 112 forks source link

Display description of exported environment variables along with aliases and functions #56

Closed rafaelbco closed 8 years ago

rafaelbco commented 8 years ago

I think it would be useful if I could do something like that in a desk file:

# Description: my desk to work on things.

# Do something.
alias mycommand="foo"

# My environment variable.
export MYVAR="something"

And then when typing desk with the desk activated it would show the description of $MYVAR:

mydesk - my desk to work on things.

  mycommand  Do something.

Environment variables:

$MYVAR  My environment variable.
cfont commented 8 years ago

@jamesob, would you like me to create a PR related to this so you can check it out and determine if it indeed fixes this issue the way you would want?