summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-01-19 19:41:32 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-01-19 19:41:32 +0000
commit709426fcfd99d4ebb042df585876d81cf0ddc81e (patch)
tree31d6efbd1539bb96f216f7c46f05c3924f2481bb
parent9382be33479fa2f7276ada9de927268d46c6b46b (diff)
downloadzsh-709426fcfd99d4ebb042df585876d81cf0ddc81e.tar.gz
zsh-709426fcfd99d4ebb042df585876d81cf0ddc81e.tar.xz
zsh-709426fcfd99d4ebb042df585876d81cf0ddc81e.zip
users/12461: fix quoting of mount points for umount
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_mount1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d24abad2d..e09b016bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2008-01-19  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
+	* unposted: Completion/Unix/Command/_mount: make MATCH etc.
+	local.
+
 	* users/12461: Completion/Unix/Command/_mount: mount points
 	weren't completed properly for umount.
 
diff --git a/Completion/Unix/Command/_mount b/Completion/Unix/Command/_mount
index 417af2502..fcd848e23 100644
--- a/Completion/Unix/Command/_mount
+++ b/Completion/Unix/Command/_mount
@@ -867,6 +867,7 @@ udevordir)
     ;;
   esac
 
+  local MATCH MBEGIN MEND
   # "Mummy, why is mount point matching full of squiggles?"
   #
   # "Well, dear, the clever people who wrote Linux decided that some