summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2017-03-07 03:18:07 +0100
committerMikael Magnusson <mikachu@gmail.com>2017-03-07 03:20:05 +0100
commita8345a40b1a79bb3a5c524ccf5fedf78040ae40e (patch)
tree51a0fa6010b1586b171878583049b186e6cd1380 /Completion/Unix/Command
parent23275fc8db671cecb5b6491a06455b27fbabd59b (diff)
downloadzsh-a8345a40b1a79bb3a5c524ccf5fedf78040ae40e.tar.gz
zsh-a8345a40b1a79bb3a5c524ccf5fedf78040ae40e.tar.xz
zsh-a8345a40b1a79bb3a5c524ccf5fedf78040ae40e.zip
40780: Don't use =~ for simple prefix match
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_mount2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_mount b/Completion/Unix/Command/_mount
index 7c5605016..9ab279d75 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
     ;;