LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] more handy tips...

[ILUG] more handy tips...

Hary Walsh hwalsh at shannon.tellabs.com
Wed Oct 20 17:05:14 IST 1999


>>>>> "John" == John P Looney <valen at tuatha.org> writes:

    John> On Wed, Oct 20, 1999 at 02:00:18PM +0100, Hary Walsh
    John> mentioned:

    John> to customise it. Don't suppose you'd post a ~/.readlinerc or
    John> something to see what sort of nice stuff you can do with it,
    John> hmm ?

Firstly, as I said previously, I tend to shy away from customising
things too much.  However, I do have one or two things in my .inputrc

For example I set 'completion-query-items' in my .inputrc instead of
my .bashrc to provide consistency.  I also set editing-mode to emacs
here.

Also, I believe someone set a variable in a sample .cshrc to show all
completions on the first TAB.  I would have set this in my .inputrc,
so I'd get the same behaviour on all GNU cli based apps (
show-all-if-ambigious )

So, my .inputrc
---8<---
# Why I originally changed to bash.  I know tcsh has an emacs mode,
# but it's not anywhere near as comprehensive as bash's 
set editing-mode emacs

# Ask me if there are more than 150
set completion-query-items 150

# edit the path
"\C-xp": "PATH=${PATH}\C-a\ef\C-f"

#edit the LD_LIBRARY_PATH
"\C-xl": "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}\C-a\ef\C-f"

# Quote the current or previous word
"\C-x\"": "\eb\"\ef\""
---8<--



    John> emacs. http://moebius.dartmouth.edu/~emk/learning-lisp/learning-lisp.html
    John> Not 100% complete yet...

Maybe I'll put together a .emacs tutorial for the ilug site or
something.  Would people be interested?  It might be an idea to use
the above as a prerequisite and go on from there talking about the
various useful packages that come with X?Emacs.

--
hjw




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell