Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
starting <tab> completion / command history
- X-seq: zsh-workers 29675
- From: Sebastian Tramp <tramp@xxxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: starting <tab> completion / command history
- Date: Thu, 11 Aug 2011 23:11:50 +0200
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: University of Leipzig
Hi zsh workers,
Is there a way to map a <tab> at the beginning of a command line to a
completion function?
I want to use it to complete full command lines which I save as a
history for each directory so that I can re-use commonly executed
commands (incl. parameters) for a specific directory.
The idea is a little bit similar to the autojump command [1] which I
really love and imo such a tool does not exist yet (please point me to
such a project if you know something like that).
Best regards
Sebastian Tramp
1. https://github.com/joelthelion/autojump
--
Sebastian Tramp - Department of Computer Science; University of Leipzig
WebID: http://sebastian.tramp.name Tel. (Fax): +49 341 97 323-66 (-29)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author