From: "Paolo M. Pumilia" <pol@est.it>
To: zsh-users@sunsite.auc.dk
Subject: monitoring the shell prompt
Date: Sat, 2 Oct 1999 15:03:28 +0200 [thread overview]
Message-ID: <19991002150327.A11347@wigner.cstc.org> (raw)
I would like to monitor the command line editor status and perform
some action as a change happen.
Since i use to switch often between vi-cmd and vi-ins modes, it would
be useful to get the current vi mode displayed within the prompt
As an example:
In command mode: PROMPT='(@%m) %n - %% '
In insert mode: PROMPT='(@%m) %n + %% '
Is it possible with the current version of zsh?
Thank you for your suggestions
Paolo Pumilia
---- cstc -
next reply other threads:[~1999-10-02 12:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-10-02 13:03 Paolo M. Pumilia [this message]
1999-10-02 17:33 ` Bart Schaefer
1999-10-02 17:45 ` Bart Schaefer
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=19991002150327.A11347@wigner.cstc.org \
--to=pol@est.it \
--cc=pumilia@est.it \
--cc=zsh-users@sunsite.auc.dk \
/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).