From: Sebastian Tramp <tramp@informatik.uni-leipzig.de>
To: zsh-workers@zsh.org
Subject: starting <tab> completion / command history
Date: Thu, 11 Aug 2011 23:11:50 +0200 [thread overview]
Message-ID: <20110811211150.GA21221@soljaris7.fritz.box> (raw)
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)
next reply other threads:[~2011-08-11 21:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-11 21:11 Sebastian Tramp [this message]
2011-08-12 2:08 ` Bart Schaefer
2011-08-14 19:57 ` Sebastian Tramp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110811211150.GA21221@soljaris7.fritz.box \
--to=tramp@informatik.uni-leipzig.de \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).