From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10782 invoked by alias); 31 Mar 2016 15:08:42 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21429 Received: (qmail 1776 invoked from network); 31 Mar 2016 15:08:41 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 To: zsh-users From: sergio Subject: make the clock to tick Message-ID: <56FD3D77.5060403@sergio.spb.ru> Date: Thu, 31 Mar 2016 18:08:39 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Icedove/44.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit I'd like to update prompt every second. When I change the terminal window size, prompt redraws and the clock (%* in the prompt) ticks. Is it possible to send an update event to zsh every second to make the clock to tick? -- sergio