* PATCH: Use .. instead of :h
@ 2000-03-24 12:47 Tanaka Akira
0 siblings, 0 replies; only message in thread
From: Tanaka Akira @ 2000-03-24 12:47 UTC (permalink / raw)
To: zsh-workers
${ZTST_srcdir:h} doesn't point to the parent of $ZTST_srcdir when
${ZTST_srcdir} is end with `/.'.
Also, this fix a typo in Changelog.
Index: Test/comptest
===================================================================
RCS file: /projects/zsh/zsh/Test/comptest,v
retrieving revision 1.1.1.6
diff -u -r1.1.1.6 comptest
--- Test/comptest 2000/03/03 18:42:49 1.1.1.6
+++ Test/comptest 2000/03/24 12:18:57
@@ -5,7 +5,7 @@
zmodload -i zsh/zpty
setopt extendedglob
-fpath=( ${ZTST_srcdir:h}/(Completion|Functions)/*~*/CVS(/) )
+fpath=( $ZTST_srcdir/../(Completion|Functions)/*~*/CVS(/) )
debug=
dump=(-D)
Index: Test/ztst.zsh
===================================================================
RCS file: /projects/zsh/zsh/Test/ztst.zsh,v
retrieving revision 1.1.1.11
diff -u -r1.1.1.11 ztst.zsh
--- Test/ztst.zsh 2000/03/03 18:42:49 1.1.1.11
+++ Test/ztst.zsh 2000/03/24 12:18:57
@@ -52,7 +52,7 @@
[[ $ZTST_srcdir = /* ]] || ZTST_srcdir="$ZTST_testdir/$ZTST_srcdir"
# Set the function autoload paths to correspond to this build of zsh.
-fpath=( ${ZTST_srcdir:h}/(Completion|Functions)/*~*/CVS(/) )
+fpath=( $ZTST_srcdir/../(Completion|Functions)/*~*/CVS(/) )
: ${TMPPREFIX:=/tmp/zsh}
# Temporary files for redirection inside tests.
Index: ChangeLog
===================================================================
RCS file: /projects/zsh/zsh/ChangeLog,v
retrieving revision 1.1.1.31
diff -u -r1.1.1.31 ChangeLog
--- ChangeLog 2000/02/20 19:16:52 1.1.1.31
+++ ChangeLog 2000/03/24 12:18:52
@@ -4027,7 +4027,7 @@
* pws: 7257: Completion/Core/_parameters: simplify.
- * Tanak Akira: 7256: Completion/User/_bzip2,
+ * Tanaka Akira: 7256: Completion/User/_bzip2,
Completion/User/_bunzip2: new.
* Tanaka Akira: 7255: Completion/User/_make: complete after =.
--
Tanaka Akira
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-03-24 12:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-24 12:47 PATCH: Use .. instead of :h Tanaka Akira
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).