diff options
author | Peter Stephenson <pws@zsh.org> | 2017-06-12 10:10:23 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2017-06-12 10:10:23 +0100 |
commit | d5c22d356ba442fd5811e15cc35b5480008722f4 (patch) | |
tree | e99b29c9920f83da25e4c3bbb48409e83f73ffae /Src/builtin.c | |
parent | 18aede9ee53df5e83c786e4fd81872df864dcd47 (diff) | |
download | zsh-d5c22d356ba442fd5811e15cc35b5480008722f4.tar.gz zsh-d5c22d356ba442fd5811e15cc35b5480008722f4.tar.xz zsh-d5c22d356ba442fd5811e15cc35b5480008722f4.zip |
41244: Add zmodload -s option.
Doesn't complain if module is unavailable, but prints more obscure errors. Use existing low-level silent flag by passing through intermediate module loading hierarchy.
Diffstat (limited to 'Src/builtin.c')
-rw-r--r-- | Src/builtin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c index 063644efb..0b3949437 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -131,7 +131,7 @@ static struct builtin builtins[] = BUILTIN("whence", 0, bin_whence, 0, -1, 0, "acmpvfsSwx:", NULL), BUILTIN("where", 0, bin_whence, 0, -1, 0, "pmsSwx:", "ca"), BUILTIN("which", 0, bin_whence, 0, -1, 0, "ampsSwx:", "c"), - BUILTIN("zmodload", 0, bin_zmodload, 0, -1, 0, "AFRILP:abcfdilmpue", NULL), + BUILTIN("zmodload", 0, bin_zmodload, 0, -1, 0, "AFRILP:abcfdilmpsue", NULL), BUILTIN("zcompile", 0, bin_zcompile, 0, -1, 0, "tUMRcmzka", NULL), }; |