diff --git a/docs/advanced-config/README.md b/docs/advanced-config/README.md index ed6bb7c0f50c..061a3233bcd5 100644 --- a/docs/advanced-config/README.md +++ b/docs/advanced-config/README.md @@ -80,7 +80,7 @@ add the following snippet to your `~/.bashrc` or `~/.zshrc`: ```bash function set_win_title(){ - echo -ne "\033]0; $(basename $PWD) \007" + echo -ne "\033]0; $(basename "$PWD") \007" } starship_precmd_user_func="set_win_title" ```