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

Here-documents and history



Can the here-documents be forced in the history list?

When I write:
fly$ while read line
> echo $line
> done
fly$
   ^ pressing C-p here will edit the whole while block

fly$ write tvujec <<xxx
> what are you doing?
> xxx
fly$
   ^ pressing C-p here will edit just the first line.

I would like to press C-p and be able to edit the contents of
here-documents.

-- 
hniksic@xxxxxxx              |  Student of electrical engineering
hniksic@xxxxxxxxxxxxx        |  University of Zagreb, Croatia
------------------------------------------------------------------
`VI' - An editor used by those heretics that don't subscribe to
       the Emacs religion.




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