You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.
However, the path to the directory where the rc file is in, can be set by the environment variable ZDOTDIR. Therefore, the dephell self autocomplete should check first if the environment variable ZDOTDIR is set and valid and use it to find .zshrc and add the necessary line for auto-completion. If it is invalid or simply not set, the default path to $HOME/.zshrc can be used.
Short description
When running
dephell self autocomplete
, dephell adds the necessary line for auto-completion in$HOME/.zshrc
:dephell/dephell/commands/self_autocomplete.py
Line 88 in b9a7f59
However, the path to the directory where the rc file is in, can be set by the environment variable
ZDOTDIR
. Therefore, thedephell self autocomplete
should check first if the environment variableZDOTDIR
is set and valid and use it to find.zshrc
and add the necessary line for auto-completion. If it is invalid or simply not set, the default path to$HOME/.zshrc
can be used.Steps to reproduce
dephell has added the
source ...
auto-completion line to$HOME/.zshrc
instead of$ZDOTDIR/.zshrc
Versions
The text was updated successfully, but these errors were encountered: