From: Peter Stephenson <pws@cambridgesiliconradio.com>
To: zsh-users@sunsite.auc.dk (Zsh users list)
Subject: PATCH: compdump with HOME=/
Date: Fri, 19 May 2000 19:17:37 +0100 [thread overview]
Message-ID: <0FUT005EZK5C24@la-la.cambridgesiliconradio.com> (raw)
Further to the messages about zsh under cygwin earlier in the week...
I've just installed cygwin and compiled zsh. Without the fix I posted,
undefining HAVE_MMAP as suggested by Geoff, external programmes don't work;
with it, everything went flawlessly: the only minor fly in the ointment was
that my home diretory came up as / and compdump rewrote this as //, which
apparently cygwin can't cope with (or it couldn't this time). Everything
else I tried worked, including the new completion system, running other
cygwin executables, running WIN32 executables, basic job control. This
seems a pretty good test of the basics. (Actually, I was astonished.)
$OS is set to Windows_NT, $MACHTYPE is i686; it's a Pentium III running
Windows NT 4 sp 5 with the latest available cygwin release.
Index: Completion/Core/compdump
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Core/compdump,v
retrieving revision 1.2
diff -u -r1.2 compdump
--- Completion/Core/compdump 2000/04/01 20:43:43 1.2
+++ Completion/Core/compdump 2000/05/19 18:00:53
@@ -19,6 +19,7 @@
typeset _d_file _d_f _d_bks _d_line _d_als
_d_file=${_comp_dumpfile-${0:h}/compinit.dump}.$HOST.$$
+[[ $_d_file = //* ]] && _d_file=${_d_file[2,-1]}
typeset -U _d_files
_d_files=( ${^~fpath:/.}/^([^_]*|*~|*.zwc)(N:t) )
--
Peter Stephenson <pws@cambridgesiliconradio.com>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070
next reply other threads:[~2000-05-19 18:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-19 18:17 Peter Stephenson [this message]
2000-05-19 19:11 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0FUT005EZK5C24@la-la.cambridgesiliconradio.com \
--to=pws@cambridgesiliconradio.com \
--cc=zsh-users@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).