bash / word seperators

Cameron Simpson cs at zip.com.au
Wed May 10 08:17:02 UTC 2006


On 09May2006 22:22, Tony Nelson <tonynelson at georgeanelson.com> wrote:
| >| Man bash shows "COMP_WORDBREAKS" as the relevent variable to set.  (Don't
| >| unset it.)  See "man bash", and search for "readline".  So:
| >|     COMP_WORDBREAKS=$COMP_WORDBREAKS/
| >| does it.  To have it every time, put that line in ~/.bashrc.
| >
| >Seems to have no effect for me. I'm testing with bash-3.0 on Fedora Core
| >4. Should I expect this to affect ^W? One reason I prefer zsh is that
| >it will stop ^W at a slash, which I find very useful.
| 
| Don't know.  It affects Ctrl-Left Arrow here.  I don't use Ctrl-W.
| Have you printed COMP_WORDBREAKS to make sure it's set properly?

Yep:

	[~]zoob*> echo $COMP_WORDBREAKS
	"'@><=;|&(:/

Control left-arrow seems to do nothing at all for me.
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

The significant problems we face cannot be solved at the same level of
thinking we were at when we created them.       - Albert Einstein




More information about the fedora-list mailing list