delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/20/07:05:45

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: cygwin AT cygwin DOT com
From: Andrew Markebo <andrew DOT markebo AT comhem DOT 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
X-Complaints-To: usenet AT sea DOT gmane DOT 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 AT sunsite DOT 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/

- Raw text -


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