Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _expand_word_and_keep of 'keeper suite' doesn't work
- X-seq: zsh-users 9737
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "Zsh Users' List" <zsh-users@xxxxxxxxxx>
- Subject: Re: _expand_word_and_keep of 'keeper suite' doesn't work
- Date: Fri, 02 Dec 2005 16:57:23 +0000
- In-reply-to: <87ek4wigsb.fsf@xxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <87iru9i1h6.fsf@xxxxxxxxxxxxxxxx> <1051201160536.ZM12180@xxxxxxxxxxxxxxxxxxxxxxx> <87ek4wigsb.fsf@xxxxxxxxxxxxxxxx>
On Dec 2, 12:39am, Hannu Koivisto wrote:
} Subject: Re: _expand_word_and_keep of 'keeper suite' doesn't work
}
} Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> writes:
}
} > What are your zstyle settings?
}
} These:
Hmm, none of those should have an adverse effect. Try this:
autoload -U zed
Run "zed -f _complete_debug"
Scroll down to the line that reads "_main_complete"
Replace that with "_expand_word_and_keep"
Type ctrl-x ctrl-w to save
Now, set up an expansion of the sort that fails to work as expected,
but instead of your usual expand-word binding, type ctrl-x ?
(yes, that's ctrl-x followed by a question mark).
This should produce a trace file of the commands executed by the
completion system, which you can examine to see whether "compadd -J"
is ever being called. If you can't see what's wrong, post it somewhere
accessible (or at worst, mail it to zsh-users) so we can have a look.
Make sure it doesn't contain any sensitive data, first, of course.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author