diff options
Diffstat (limited to 'Functions/Misc')
-rw-r--r-- | Functions/Misc/allopt | 2 | ||||
-rw-r--r-- | Functions/Misc/zed | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Functions/Misc/allopt b/Functions/Misc/allopt index 0c521f391..5d5d2885a 100644 --- a/Functions/Misc/allopt +++ b/Functions/Misc/allopt @@ -8,7 +8,7 @@ # Written by Sweth Chandramouli with hacks by Bart Schaefer. listalloptions () { - local OPT_NAME OPT_VALUE + local OPT_NAME OPT_VALUE IFS=$' \t\n' builtin set -o | while read OPT_NAME OPT_VALUE ; do if [[ ${OPT_NAME#no} != ${OPT_NAME} ]] ; then OPT_VALUE=${(L)${${OPT_VALUE:s/on/OFF}:s/off/on}} diff --git a/Functions/Misc/zed b/Functions/Misc/zed index 33bd1025b..f571daf5e 100644 --- a/Functions/Misc/zed +++ b/Functions/Misc/zed @@ -36,6 +36,9 @@ fi local curcontext=zed::: +# Matching used in zstyle -m: hide result from caller. +# Variables not used directly here. +local -a match mbegin mend zstyle -m ":completion:zed:*" insert-tab '*' || zstyle ":completion:zed:*" insert-tab yes |