Manish Jethani wrote:
How do I change the definition of a word boundary in Bash?
When I type "ping www.yahoo.com[C-w]", I am left with "ping ". I would like it if I were left with "ping www.yahoo." on pressing C-w. Is there a definition (maybe in the form of a regexp) somewhere in a config file that I can change? Or is there a way to create your own shortcut commands in Bash?
press [Alt-Backspace] it deletes one word at a time. so $ ping www.yahoo.com[A - <-] will give you $ ping www.yahoo.
There are a variety of available shortcuts in bash. But i dont know how to create my own :-(
I know I can do that in Vim. Not sure about Bash. No mention in the Bash manual. :-/
Manish
Richard Stallman's Public Lecture 5pm 17th July, at TIFR. Linuxers mailing list Linuxers@mm.ilug-bom.org.in http://mm.ilug-bom.org.in/mailman/listinfo/linuxers