[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: bash / word seperators


In 'ye olden days, we modified readline/readline_complete.c in the bash
source code!


Brian D. McGrew { brian visionpro com || brian doubledimension com }
> This is a test.  This is only a test!
  Had this been an actual emergency, you would have been
  told to cancel this test and seek professional assistance!

-----Original Message-----
From: fedora-list-bounces redhat com
[mailto:fedora-list-bounces redhat com] On Behalf Of Tony Nelson
Sent: Monday, May 08, 2006 11:45 AM
To: fedora-list redhat com
Subject: Re: bash / word seperators

At 8:50 AM -0700 5/8/06, Brian D. McGrew wrote:
>Back in 'ye olden days, we used to have a customized version of bash
>that recognized '/' as a word separator; which was very nice when
>editing command lines, a CTRL-W would not erase your whole typed path,
>just back to the slash.
>Without building a new version of bash, how can I make the shell
>recognize '/' as a word separator???

You mean "readline", not "bash".  Changing bash's definition of a word
would have much more profound effects than you describe.  Don't mess

Man bash shows "COMP_WORDBREAKS" as the relevent variable to set.
unset it.)  See "man bash", and search for "readline".  So:


does it.  To have it every time, put that line in ~/.bashrc.
TonyN.:'                       <mailto:tonynelson georgeanelson com>
      '                              <http://www.georgeanelson.com/>

fedora-list mailing list
fedora-list redhat com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]