Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: Andrew Markebo <andrew.markebo@comhem.se>
Subject: Sharing zsh history in cygwin.
Date: Thu, 20 Jan 2005 13:05:00 +0100
Lines: 32
Message-ID: <m3fz0wgvbn.fsf@flognat.dyndns.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: h131n2fls23o1061.bredband.comhem.se
User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)
Cc: zsh-users@sunsite.dk
X-IsSubscribed: yes

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

In old times I have done it, unfortunetaly bad tracking when I lost
it. (Cywgin & zsh 4.2) (think it works with Linux-compiled zsh,
doublechecking)

Mainly my sharing is decided by:
# History 
###################################
# IncAppendHistory for sharing between shells.. NOW..
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
creates a bunch of .history-XXX files.

On cygwin I configured (by setting "named FIFOs to work" to false) and
compiled zsh 4.2.3, but it doesn't seem to share the history.

Anyone who have been messing with the history as I do?

       /Andy

-- 
 Don't walk in front of me, I might be unable to follow you. 
 Don't walk after me, I might be unable to lead you. 
 Just walk by my side and be my friend.


--
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/

