Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #45 from dephell/fix-autocomplete
Browse files Browse the repository at this point in the history
create data dir for zsh autocomplete
  • Loading branch information
orsinium committed Apr 25, 2019
2 parents b23e7fb + b6850e8 commit 211a279
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dephell/commands/autocomplete.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def _bash(self):
def _zsh(self):
script = make_zsh_autocomplete()
path = Path(user_data_dir('dephell')) / '_dephell_zsh_autocomplete'
path.parent.mkdir(parents=True, exist_ok=True)
path.write_text(script)
path.chmod(0o777)

Expand Down

0 comments on commit 211a279

Please sign in to comment.