summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Zsh/Type/_globquals3
-rwxr-xr-xConfig/installfns.sh2
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index eb2cdfc89..f36e16da3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-31  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* Mikael: 27642: Completion/Zsh/Type/_globquals: add some
+	missing entries.
+
 2010-01-29  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* users/14752: Functions/Misc/zed, Src/builtin.c: add #!
@@ -12647,5 +12652,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4875 $
+* $Revision: 1.4876 $
 *****************************************************
diff --git a/Completion/Zsh/Type/_globquals b/Completion/Zsh/Type/_globquals
index f0c692621..9ad948839 100644
--- a/Completion/Zsh/Type/_globquals
+++ b/Completion/Zsh/Type/_globquals
@@ -146,6 +146,9 @@ while [[ -n $PREFIX ]]; do
 	"m:last modification time"
 	"c:last inode change time"
 	"d:directory depth"
+	"N:no sorting"
+	"e:execute code"
+	"+:+ command name"
 	)
       _describe -t sort-specifiers "sort specifier" alts -Q -S ''
       return
diff --git a/Config/installfns.sh b/Config/installfns.sh
index c28c8e7df..677a8fbfe 100755
--- a/Config/installfns.sh
+++ b/Config/installfns.sh
@@ -46,7 +46,7 @@ for file in $allfuncs; do
     fi
     test -d $instdir || /bin/sh $sdir_top/mkinstalldirs $instdir || exit 1
     $INSTALL_DATA $sdir_top/$file $instdir || exit 1
-    if test -x $sdir_top/$file; then
+    if sed -ne '1p' $sdir_top/$file | grep '^#!' >/dev/null; then
 	chmod +x $instdir/`echo $file | sed -e 's%^.*/%%'`
     fi
   fi