zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: Don't use =~ for simple prefix match
@ 2017-03-07  2:18 Mikael Magnusson
  2017-03-07  6:50 ` Sebastian Gniazdowski
  0 siblings, 1 reply; 4+ messages in thread
From: Mikael Magnusson @ 2017-03-07  2:18 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-07  9:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-07  2:18 PATCH: Don't use =~ for simple prefix match Mikael Magnusson
2017-03-07  6:50 ` Sebastian Gniazdowski
2017-03-07  7:01   ` Sebastian Gniazdowski
2017-03-07  9:33     ` Peter Stephenson

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