Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Trial for 5.0.7



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



Messages sorted by: Reverse Date, Date, Thread, Author