delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/22/16:23:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: Andrew Markebo <andrew DOT markebo AT comhem DOT se>
Cc: zsh-users AT sunsite DOT dk, cygwin AT cygwin DOT com
Subject: Re: Sharing zsh history in cygwin.
Mail-copies-to: nobody
From: Hannu Koivisto <azure AT iki DOT fi>
Date: Sat, 22 Jan 2005 23:22:45 +0200
In-Reply-To: <m3fz0wgvbn.fsf@flognat.dyndns.org> (Andrew Markebo's message of "Thu, 20 Jan 2005 13:05:00 +0100")
Message-ID: <877jm56twa.fsf@lynx.bothi.fi>
User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386-debian-linux-gnu)
References: <m3fz0wgvbn DOT fsf AT flognat DOT dyndns DOT org>
MIME-Version: 1.0

Andrew Markebo <andrew DOT markebo AT comhem DOT se> writes:

> Anyone managed to share command line history between running zsh's in
> latest cygwin's?

I don't use SHARE_HISTORY (just inc_append_history,
hist_ignore_all_dups, hist_no_store and my history sizes are 100
times larger than yours), but...

> setopt HISTIGNOREDUPS HISTIGNORESPACE EXTENDED_HISTORY 
> setopt INC_APPEND_HISTORY SHARE_HISTORY 
> HISTSIZE=300
> SAVEHIST=300
> HISTFILE=~/.history  
>
> The last line, HISTFILE, freezes the cygwin-distributed zsh
> (4.2.0) just after reading the config-files. Removing just that line

...after some cygwin update (a few months ago) my zshs also started
freezing during startup.  I tracked the problem down to HISTFILE
being assigned a file that resides on a network drive (a Linux
samba share in this case, I didn't try anything else).  If I
changed my history file to reside on a local hard drive, zsh no
longer froze.  Is your home directory on a local drive?

-- 
Hannu

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019