zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@zsh.org
Subject: Re: Trial for 5.0.7
Date: Sat, 04 Oct 2014 08:46:35 -0700	[thread overview]
Message-ID: <141004084635.ZM6823@torch.brasslantern.com> (raw)
In-Reply-To: <542FFF6D.6080105@eastlink.ca>

On Oct 4,  7:08am, Ray Andrews wrote:
}
} Is there some simple way to try that and keep the trusty version on hand 
} as well?

The simplest way I can think of involves a little preparation:

1. Copy all your ~/.z* config files to a new directory, let's call it
   ~/.zsh-trial

2. Edit ~/.zsh-trial/.zshenv to add

   fpath=(/path/to/your/zsh/sources/Completion**/*(/) $fpath)

3. When building zsh, "configure --disable-dynamic ..." so that you don't
   have to worry about mucking with module_path, which is a bit horrific

4. I've appended the contents of an edited config.modules below; replace
   your config.modules with it before running "make" so that you link in
   all the testable modules.  (It's not an attachment because the list
   archive prefers it that way.)

5. Do not "make install"; instead run the trial from the build tree as

	ZDOTDIR=$HOME/.zsh-trial Src/zsh


Here's the config.modules edit.  I keep it around as config.modules.local
because it has to be re-copied onto config.modules after any re-configure.

# -- 8< -- config.modules.local -- 8< ---
name=zsh/main modfile=Src/zsh.mdd link=static auto=yes load=yes functions=Functions/Chpwd/* Functions/Exceptions/* Functions/Misc/* Functions/MIME/* Functions/Prompts/* Functions/VCS_Info/* Functions/VCS_Info/Backends/*
name=zsh/rlimits modfile=Src/Builtins/rlimits.mdd link=static auto=yes load=yes
name=zsh/sched modfile=Src/Builtins/sched.mdd link=static auto=yes load=yes
name=zsh/attr modfile=Src/Modules/attr.mdd link=no auto=yes load=no
name=zsh/cap modfile=Src/Modules/cap.mdd link=no auto=yes load=no
name=zsh/clone modfile=Src/Modules/clone.mdd link=no auto=yes load=no
name=zsh/curses modfile=Src/Modules/curses.mdd link=no auto=yes load=no
name=zsh/datetime modfile=Src/Modules/datetime.mdd link=static auto=yes load=no functions=Functions/Calendar/*
name=zsh/db/gdbm modfile=Src/Modules/db_gdbm.mdd link=no auto=yes load=no
name=zsh/example modfile=Src/Modules/example.mdd link=static auto=yes load=no
name=zsh/files modfile=Src/Modules/files.mdd link=no auto=yes load=no
name=zsh/langinfo modfile=Src/Modules/langinfo.mdd link=static auto=yes load=no
name=zsh/mapfile modfile=Src/Modules/mapfile.mdd link=no auto=yes load=no
name=zsh/mathfunc modfile=Src/Modules/mathfunc.mdd link=static auto=yes load=no
name=zsh/newuser modfile=Src/Modules/newuser.mdd link=no auto=yes load=no functions=Scripts/newuser Functions/Newuser/*
name=zsh/parameter modfile=Src/Modules/parameter.mdd link=static auto=yes load=yes
name=zsh/pcre modfile=Src/Modules/pcre.mdd link=static auto=yes load=no
name=zsh/regex modfile=Src/Modules/regex.mdd link=static auto=yes load=no
name=zsh/net/socket modfile=Src/Modules/socket.mdd link=no auto=yes load=no
name=zsh/stat modfile=Src/Modules/stat.mdd link=no auto=yes load=no
name=zsh/system modfile=Src/Modules/system.mdd link=static auto=yes load=no
name=zsh/net/tcp modfile=Src/Modules/tcp.mdd link=no auto=yes load=no functions=Functions/TCP/*
name=zsh/termcap modfile=Src/Modules/termcap.mdd link=static auto=yes load=yes
name=zsh/terminfo modfile=Src/Modules/terminfo.mdd link=static auto=yes load=yes
name=zsh/zftp modfile=Src/Modules/zftp.mdd link=no auto=yes load=no functions=Functions/Zftp/*
name=zsh/zprof modfile=Src/Modules/zprof.mdd link=no auto=yes load=no
name=zsh/zpty modfile=Src/Modules/zpty.mdd link=static auto=yes load=no
name=zsh/zselect modfile=Src/Modules/zselect.mdd link=no auto=yes load=no
name=zsh/zutil modfile=Src/Modules/zutil.mdd link=static auto=yes load=yes
name=zsh/compctl modfile=Src/Zle/compctl.mdd link=static auto=yes load=yes
name=zsh/complete modfile=Src/Zle/complete.mdd link=static auto=yes load=yes functions=Completion/*comp* Completion/AIX/*/* Completion/BSD/*/* Completion/Base/*/* Completion/Cygwin/*/* Completion/Darwin/*/* Completion/Debian/*/* Completion/Linux/*/* Completion/Mandriva/*/* Completion/Redhat/*/* Completion/Solaris/*/* Completion/openSUSE/*/* Completion/Unix/*/* Completion/X/*/* Completion/Zsh/*/*
name=zsh/complist modfile=Src/Zle/complist.mdd link=static auto=yes load=yes
name=zsh/computil modfile=Src/Zle/computil.mdd link=static auto=yes load=yes
name=zsh/deltochar modfile=Src/Zle/deltochar.mdd link=no auto=yes load=no
name=zsh/zle modfile=Src/Zle/zle.mdd link=static auto=yes load=yes functions=Functions/Zle/*
name=zsh/zleparameter modfile=Src/Zle/zleparameter.mdd link=static auto=yes load=yes
# -- 8< -- config.modules.local -- 8< ---


  reply	other threads:[~2014-10-04 15:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-02 19:40 Peter Stephenson
2014-10-04 14:08 ` Ray Andrews
2014-10-04 15:46   ` Bart Schaefer [this message]
2014-10-04 21:29     ` Ray Andrews
2014-10-08 20:06     ` Ray Andrews
2014-10-08 22:24       ` Bart Schaefer
2014-10-13 17:03     ` combine/merge .history? Ray Andrews
2014-10-13 17:59       ` Bart Schaefer
2014-10-13 20:33         ` Ray Andrews
2014-10-13 21:33           ` Bart Schaefer
2014-10-13 21:58             ` Ray Andrews

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=141004084635.ZM6823@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /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).