From 3d675b23394c47599934a0694a837bdeec4c0033 Mon Sep 17 00:00:00 2001 From: sahandKashani Date: Fri, 4 Apr 2014 09:28:53 +0200 Subject: [PATCH] bash completion documentation fix for GNU Bash-4.2 In GNU Bash-4.2, I have to put quotes around the eval statement for the shell to correctly interpret the output of the beet completion command. --- docs/reference/cli.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/cli.rst b/docs/reference/cli.rst index d479dcbae..4ee434237 100644 --- a/docs/reference/cli.rst +++ b/docs/reference/cli.rst @@ -361,7 +361,7 @@ Beets includes support for shell command completion. The command ``beet completion`` prints out a `bash`_ 3.2 script; to enable completion put a line like this into your ``.bashrc`` or similar file:: - eval $(beet completion) + eval "$(beet completion)" Or, to avoid slowing down your shell startup time, you can pipe the ``beet completion`` output to a file and source that instead.