diff --git a/docs/_index.md b/docs/_index.md index 450505dd3f4..c383fdac017 100644 --- a/docs/_index.md +++ b/docs/_index.md @@ -367,7 +367,7 @@ poetry completions bash >> ~/.bash_completion #### Lazy-loaded ```bash -poetry completions bash > ${XDG_DATA_HOME:~/.local/share}/bash-completion/completions/poetry +poetry completions bash > ${XDG_DATA_HOME:-~/.local/share}/bash-completion/completions/poetry ``` ### Fish