On Fri, Mar 13, 2009 at 11:55:55AM +0100, martin f krafft wrote: > I tried to show off zsh to a sceptic today and had to find out the > hard way that it does not (yet) provide completion for history > expansion modifiers, e.g. > > echo !$:<TAB> > > should list > > h Remove a trailing pathname component, leaving the head. This works like > ‘dirname’. > r Remove a filename extension of the form ‘.xxx’, leaving the root name. > e Remove all but the extension. > t Remove all leading pathname components, leaving the tail. This works > like ‘basename’. > p Print the new command but do not execute it. Only works with history > expansion. > q Quote the substituted words, escaping further substitutions. Works with > history expan‐ > sion and parameter expansion, though for parameters it is only useful if > the resulting > text is to be re-evaluated such as by eval. > Q Remove one level of quotes from the substituted words. > x Like q, but break into words at whitespace. Does not work with > parameter expansion. > l Convert the words to all lowercase. > u Convert the words to all uppercase. > > etc.
Anyone want to tackle this? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org