From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16965 invoked by alias); 22 Jul 2015 19:57:01 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35858 Received: (qmail 914 invoked from network); 22 Jul 2015 19:56:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=LPBY3ZP5yCa6HQovouBbgjXMdeiN2g/WzbFxoOzLG5o=; b=nk+ACHPR3iIqgsXECK4v11NBPomkWCOR6BMtNbBczerdEHoemnLx/GLYW0qT8xVlE/ KM6/QooISnNeFTUXzysT10nz6lFsDkbPEs+HGOr95zofb0NozldcvVCRAmaKTrPnjM8d tAXQd/i9I/zfdjTxt3qHpz6Q1azScOSFbRp3Tsp3yCl0YWuO+zjIQJI1N6KI5/CrYrJB o8/Prs2dqqVKd6cHlrWkA+wsaHf0JhcuOBizv7FuReOu1Sc52MgPA9BqQj41plm3StRr gu3Hi1UgIIGwkwg01sVID4ySUJkebSaWhbNNnAKiLJ6ePtdQNKlWLzQ3vh1BfY5tACsp T1wA== X-Received: by 10.60.145.169 with SMTP id sv9mr4286923oeb.69.1437595014051; Wed, 22 Jul 2015 12:56:54 -0700 (PDT) MIME-Version: 1.0 Sender: sarnobat.hotmail@gmail.com From: Sridhar Sarnobat Date: Wed, 22 Jul 2015 12:56:24 -0700 X-Google-Sender-Auth: SB62UQWwR831Eg6X7rZcLgboxhM Message-ID: Subject: Bug: history-search-backward ignores search text after first space character? To: zsh-workers@zsh.org Content-Type: multipart/alternative; boundary=047d7b5d969324bcdd051b7c2cea --047d7b5d969324bcdd051b7c2cea Content-Type: text/plain; charset=UTF-8 (copied from http://superuser.com/questions/943993/history-search-backward-ignores-search-text-after-first-space-character ) use a lot of git commands and since they are mostly 2-word command names, matching doesn't find the closest match. For example: # type in some commands git checkout - git status mvn test # try to autocomplete based on the history. I want "git checkout -" to be filled in, but instead "git status" is filled in. git c git status Notice the space and c that I typed in are ignored in the autocomplete. I assume this is some shortcoming of the zsh completion system. Is this true? Or am I misunderstanding the functionality? Sridhar Sarnobat San Jose, CA 95128 | USA Phone: +1 (650) 260-3851 | ss533@cornell.edu SMS me via email: 6073395366@txt.att.net Google Chat: sarnobat.hotmail@gmail.com http://www.facebook.com/sridhar.sarnobat http://www.linkedin.com/in/sarnobat http://github.com/sarnobat --047d7b5d969324bcdd051b7c2cea--