From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17781 invoked by alias); 31 Jan 2015 15:06:41 -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: 19787 Received: (qmail 21606 invoked from network); 31 Jan 2015 15:06:27 -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=-0.6 required=5.0 tests=BAYES_00,LONGWORDS, RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=GLnYlrk+5j0rv3ccXbrun5DCpBzGRxoUGPvSRVDv6A8=; b=HP8GNyhtoVGhjraR22SqeKiqTtd2qGnOZIEOETAV4tUBvQ5m+6nyWrCxCQMHjsTXCZ +3EHTRxw5SDH/DG4je3CsenRetpYuQTnokdQRn2gomKBtSye4P+xtWdm4/9HpGYByhRb ukZaYzNl4a987F6wnaNm2p5z4WtP+LUIOwSvg4zBmconDnz/D4Tn1l3t+LPUGxTCeWTE c2+cLYMgw9AFJ588fqKy91IBITbq5LPZTWC8ambYiL7pDX+LAKqnSISwacj4ytwLQ/3Q 6exEplWHR53+BiTMlcbI8Xvv1VbieYKOw5PRV9erzR/z8knoBJtkWN+GBV9z90Oq4xXt +a9g== X-Gm-Message-State: ALoCoQmbc4/4BFkI0gQCP1NFWEOs/C12JTI1Zmsooi2Q7G36SMy35Xpft9eg7+HYJF3yFz+nCiCK MIME-Version: 1.0 X-Received: by 10.107.13.76 with SMTP id 73mr13454865ion.24.1422716783618; Sat, 31 Jan 2015 07:06:23 -0800 (PST) X-Originating-IP: [24.6.21.39] Date: Sat, 31 Jan 2015 07:06:23 -0800 Message-ID: Subject: Trouble with history From: Sam Giraffe To: zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 Hi, I am having trouble getting zsh backward history search to work from the zsh history file. When I type in Ctrl-R, the backward history search works only for the history items that were typed during the life of the shell. If I close the shell and open another shell, then the backward history search resets itself. My .zsh_history file is only 2,850 bytes, with 104 commands in it. I need help in getting zsh to read the history file for backward history search. Below is my zsh configuration file. ~> cat .zshrc export PATH=/usr/local/bin:$PATH autoload -Uz compinit && compinit setopt cdablevars setopt correct setopt correctall setopt autocd setopt globdots SAVEHIST=500 HISTFILE=~/.zsh_history setopt inc_append_history setopt share_history setopt extendedglob setopt notify PROMPT='%~> ' alias -g ls='ls -GF' source ~/.oh-my-zsh/plugins/git/git.plugin.zsh Thank you!