dinkolubina / .dotfiles

Dotfiles configured using Ansible
1 stars 1 forks source link

Zsh poetry completions unable to be installed because poetry is not installed #13

Open dinkolubina opened 3 years ago

dinkolubina commented 3 years ago
TASK [zsh : Poetry completions installation] ***********************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "poetry completions zsh > $ZSH/plugins/poetry/_poetry", "delta": "0:00:00.017800", "end": "2021-10-05 12:14:58.597496", "msg": "non-zero return code", "rc": 127, "start": "2021-10-05 12:14:58.579696", "stderr": "/bin/sh: 1: cannot create /plugins/poetry/_poetry: Directory nonexistent\n/bin/sh: 1: poetry: not found", "stderr_lines": ["/bin/sh: 1: cannot create /plugins/poetry/_poetry: Directory nonexistent", "/bin/sh: 1: poetry: not found"], "stdout": "", "stdout_lines": []}

The last task therefore fails as well, because poetry is not installed

TASK [zsh : Set zsh as the default shell] *****************************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["chsh", "-s", "$(which zsh)"], "delta": "0:00:00.013311", "end": "2021-10-05 12:27:12.564302", "failed_when_result": true, "msg": "", "rc": 0, "start": "2021-10-05 12:27:12.550991", "stderr": "chsh: Warning: $(which zsh) does not exist", "stderr_lines": ["chsh: Warning: $(which zsh) does not exist"], "stdout": "", "stdout_lines": []}
dinkolubina commented 2 years ago

Remove the last line in .zshrc