From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29612 invoked by alias); 12 Feb 2012 17:40:35 -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: 16754 Received: (qmail 15908 invoked from network); 12 Feb 2012 17:40:25 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_TO_NO_BRKTS_FREEMAIL, UNPARSEABLE_RELAY autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at m.gmane.org designates 80.91.229.3 as permitted sender) X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@zsh.org From: Javier Marcet Subject: Cursor position in shell history Date: Sun, 12 Feb 2012 17:21:55 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 77.229.212.183 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11) Hi, Last month I set up an Ubuntu based system, where I use zsh, as in all the unix systems I manage. There is one thing which is driving me mad. When I use the 'up arrow' to move through shell's history, the cursor is placed at the start of the line instead of at the end. This only happens in Ubuntu. I use the same .zsh folder with my settings and neither the global profile nor the global zsh settings (/etc/zsh) contain anything which me causing it. In readline there is a setting, history-preserve-point, which changes this. What would be the best way to change this behavior?