missing: dabbrev-expand
missing: dabbrev-expand
Posted May 9, 2006 19:17 UTC (Tue) by dann (guest, #11621)Parent article: CLI Magic: Bash complete (Linux.com)
The main type of completion missing in bash is 'dabbrev-expand'. In tcsh (and emacs) it is bound to M-/
M-/ can complete the current word on the command lines with items from history. This is sometimes much faste than TAB completion if you have entered parts of the cmd line before...
Posted May 9, 2006 22:02 UTC (Tue)
by micampe (guest, #4384)
[Link] (1 responses)
Posted May 10, 2006 0:07 UTC (Wed)
by dann (guest, #11621)
[Link]
Here's the documentation for dabbrev-expand from the tcsh manual:
dabbrev-expand (M-/)
That looks like Ctrl-r in Bash (search backwards in history).missing: dabbrev-expand
No, it is not, Ctrl-r implements a completely different functionalitymissing: dabbrev-expand
(and is available on all modern shells)
Expands the current word to the most recent preceding one for
which the current is a leading substring, wrapping around the his-
tory list (once) if necessary. Repeating dabbrev-expand without
any intervening typing changes to the next previous word etc.,
skipping identical matches much like history-search-backward does.