This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add aliases "i ty" and "i so".


> From: Doug Evans <xdje42@gmail.com>
> Date: Sat, 03 Jan 2015 13:55:41 -0800
> 
> I'd gotten tired enough of fully typing out "info types" and "info source"
> (which otherwise collide with "info type-printers" and "info sources")
> that I have this in my .gdbinit:
> 
> alias i ty = info types
> alias i so = info source
> 
> Does anyone want a more generally available solution?
> Another way to go is to put the "alias" solution in a more public
> place (the faq or some such).
> I don't have a strong preference, just in a "spring cleaning" kind of
> mood. :-)
> 
> I thought of maybe "i t" for "info types" but I can't think of a reason
> to prefer "t" for "types" or "threads", so I'm going with "ty" which
> I think is pretty safe.
> 
> "s" is taken ("info stack", which is fine by me), so I went with "so"
> for "source".

OK for the documentation parts.

Thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]