Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
dabbrev-expand with zsh
- X-seq: zsh-users 12380
- From: Casper Gripenberg <casper.gripenberg@xxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: dabbrev-expand with zsh
- Date: Sun, 30 Dec 2007 02:22:39 +0200
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
I really love dabbrev-expand from both emacs and
tcsh, and I was trying to get zsh to do the same:
zstyle ':completion:history-words:*' list no
zstyle ':completion:history-words:*' remove_all_dups yes
zstyle ':completion:history-words:*' stop yes
zstyle ':completion:history-words:*' menu no
bindkey "^['" _history-complete-older
Now this ALMOST works. The problem is both emacs
and tcsh complete on the first hit of the key, but
zsh first beeps, and then I have to hit the key
a second time to get the completion going.
Example:
> echo "plonk" > caramba
> cat ca<ESC-'> -> BEEP
If I then hit ESC-' a second time it starts going.
Any way to get it to complete on the first try?
Casper
Messages sorted by:
Reverse Date,
Date,
Thread,
Author