Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Better way to execute commands from history?



On Thu, 3 Sep 2009, Greg Klanderman wrote:

Date: Thu, 03 Sep 2009 10:48:17 -0400
From: Greg Klanderman <gak@xxxxxxxxxxxxxx>
To: zsh-users@xxxxxxxxxx
Subject: Re: Better way to execute commands from history?

Would also be nice to have the prompt indicate whether you are in
normal or pattern search mode, but doing that looks slightly more
involved than it should be.

the following url might be helpful for showing how to do local inclusion of vim mode in the zsh prompt:

http://pthree.org/2009/03/28/add-vim-editing-mode-to-your-zsh-prompt/

i have no problems using both techniques, incremental history searches and prompt-embedded vim mode indication, in my sessions. it is quite functional. i am running a recent version of the shell, 4.3.10-dev-1, patchlevel 1.4766, on linuxen, bsd's, and cygwin (xp and win7); same behaviour on all platforms.



Messages sorted by: Reverse Date, Date, Thread, Author