From 288d0f78a8ee8983305ad37d8e7e4dfaf8cc7500 Mon Sep 17 00:00:00 2001 From: karl3wm Date: Thu, 20 Feb 2025 09:17:02 -0500 Subject: [PATCH] Handle diverse COMP_WORDBREAKS --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index add7034..a520587 100644 --- a/README.rst +++ b/README.rst @@ -82,7 +82,7 @@ FAQ * Q: Can I use the system ``man`` command instead of ``cppman``? * A: Yes, just execute ``cppman -m true`` and all cached man pages are exposed to the system ``man`` command. Note: You may want to download all available man pages with ``cppman -c``. * Q: Why is bash completion is not working properly with ``::``? -* A: It is because bash treats ``:`` like a white space. To fix this add ``export COMP_WORDBREAKS=" /\"\'><;|&("`` to your ``~/.bashrc``. +* A: It is because bash treats ``:`` like a white space. To fix this add ``export COMP_WORDBREAKS="${COMP_WORDBREAKS//:}"`` to your ``~/.bashrc``. Bugs ----