about summary refs log tree commit diff
path: root/Functions/Misc/is-at-least
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-12-19 20:06:16 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-12-19 20:06:16 +0000
commit74f4e8f66340644f73ee4be56901a58029b47a76 (patch)
tree85b11da5668fc097b022f9e13ffe959d77a8f19b /Functions/Misc/is-at-least
parentf8585a7c21f6ac2692a608bc60ffc715489616c3 (diff)
downloadzsh-74f4e8f66340644f73ee4be56901a58029b47a76.tar.gz
zsh-74f4e8f66340644f73ee4be56901a58029b47a76.tar.xz
zsh-74f4e8f66340644f73ee4be56901a58029b47a76.zip
24298: Tonguc Yumruk: emulate -L consistency
Diffstat (limited to 'Functions/Misc/is-at-least')
-rw-r--r--Functions/Misc/is-at-least2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Misc/is-at-least b/Functions/Misc/is-at-least
index 6debe4c5a..d4b0e2fe0 100644
--- a/Functions/Misc/is-at-least
+++ b/Functions/Misc/is-at-least
@@ -14,7 +14,7 @@
 # is-at-least 586 $MACHTYPE && echo 'You could be running Mandrake!'
 # is-at-least $ZSH_VERSION || print 'Something fishy here.'
 
-emulate zsh ; setopt LOCAL_OPTIONS
+emulate -L zsh
 
 local IFS=".-" min_cnt=0 ver_cnt=0 part min_ver version