-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Continuing discussion at #6 (comment)
The problem: By construing the home parameter as my actual $HOME directory, I accidentally overwrote the .zshenv file in it because completest creates a file of such a name there unconditionally. I think it’s a papercut that it would be nice to clarify.
The suggested solution:
- Deprecate/remove
new()because more specific names tend to be more descriptive (IMO, of course). - Rename “home” to “workdir” because it can be confused with an actual home directory and result in overwritten configuration files.
- Add a new constructor
with_temp_workdir(bin_root)that creates a temporary workdir automatically. - Probably also rename
bin_rootto something likeshell_binary_dir_path.
EDIT: Clarify the problem.
Metadata
Metadata
Assignees
Labels
No labels