jamesob / desk

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

Mr. jamesob, please fix your "desk" program. #59

Closed hobbeswalsh closed 8 years ago

hobbeswalsh commented 8 years ago
➤ desk init
Where do you want to store your deskfiles? (default: /Users/robin/.desk): /Users/robin/.config/desk
/Users/robin/.config/desk doesn't exist, attempting to create.
Where's your shell rc file? (default: /Users/robin/.config/fish/config.fish):
Done. Start adding desks to /Users/robin/.config/desk/desks!

➤ desk
No desk activated.

No desk dir! Run 'desk init'.⏎

What??? But I just initialized a desk dir!

hobbeswalsh commented 8 years ago

'nuff said!

jamesob commented 8 years ago

Ah yeah, you've definitely found a usability bummer. Check this part of the README out -- though we should definitely make some improvements to the code to account for this.

hobbeswalsh commented 8 years ago

Ok, yes, but I still have one outstanding question.

You write:

ensure you set $DESK_DIR and/or $DESK_DESKS_DIR to match in your shell's rc file.

I think it would be a useful feature to be able to continue along this logical path and arbitrarily nest the string _DESKS.

For example, I should be able to set the following environment variable:

$DESK_DESKS_DESKS_DESKS_DIR

I should also be able to set the following environment variable:

$DESK_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DESKS_DIR

jamesob commented 8 years ago

Usability/arbitrary-nesting-of-DESK still a problem; keeping this baby open.