logo       

Re: Insert date: msg#00050

gnu.screen.user

Subject: Re: Insert date

* Stephane Chazelas <Stephane_Chazelas-Qt13gs6zZMY@xxxxxxxxxxxxxxxx>
[2005-04-21 21:34]:
> If you want the output of that command to be inserted as if typed
> from the keyboard, then, it should be exec .!. Note that date
> outputs a trailing NL (^J) character, that may be what you get.

> :bind d exec .!. zsh -c 'print -Pn %D{%F}'

That is exactly what I wanted, thanks a lot!

Julius


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise