Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: Don't use =~ for simple prefix match
- X-seq: zsh-workers 40780
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: Don't use =~ for simple prefix match
- Date: Tue, 7 Mar 2017 03:18:49 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=1YEhinGuytiOyghHMiDJqINX49JcAeAfqQpx4IlHoSo=; b=uoks5vaivdzV7rOnw2IEZ7OduYcxP7ol+5Uj7GoPqqPN/xCZW5a/Lhh4deVn8v0UVC OWuE3pAjs/Xc9zklGo0UyFOSR6QlCAGQsB7G6KqIyJen069bAJFRpruhqlHhklhj0PQu zjEqmSDVxEihSRA7dS2onwMGrXd0kk+RN3jnW0Pvuvrpg/dWK028pNZwFbuFqgPmzcTr +PHZiKmHC0KTA1V4mplWDRdOjrXUFtLt7riR6USeWKPcaqH/2wq1VMtimODRs4QHrsDN A1wNO8f6VO1yL2ZU8xMDGcW8Uj7JMPLPqDMwvNbtaox21OsQBuJJ0T6hLn8LsQ8VwN0C wgzA==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
---
Completion/Unix/Command/_mount | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Completion/Unix/Command/_mount b/Completion/Unix/Command/_mount
index 7c5605016e..9ab279d754 100644
--- a/Completion/Unix/Command/_mount
+++ b/Completion/Unix/Command/_mount
@@ -619,7 +619,7 @@ if (( ! $+_fs_any )); then
'longnames[force Windows 95 long filenames to be visible]'
'nowin95[completely ignore Windows 95 extended file information]'
)
- if [[ "${OSTYPE}" =~ freebsd.* ]]; then
+ if [[ "${OSTYPE}" = freebsd* ]]; then
_fs_msdosfs=( "$_fs_msdos[@]" )
fi
;;
--
2.8.2
Messages sorted by:
Reverse Date,
Date,
Thread,
Author