diff options
author | Peter Stephenson <pws@zsh.org> | 2016-09-29 11:00:44 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2016-09-29 11:01:00 +0100 |
commit | 07c8fbe59632be71e4ad5bfafbf6aa4884cd04c4 (patch) | |
tree | c8a34538da3a44dd49ae0d6d1f82539e56e5fc41 /Test | |
parent | d44d23c7578285375f4ded759f7d8412320c3319 (diff) | |
download | zsh-07c8fbe59632be71e4ad5bfafbf6aa4884cd04c4.tar.gz zsh-07c8fbe59632be71e4ad5bfafbf6aa4884cd04c4.tar.xz zsh-07c8fbe59632be71e4ad5bfafbf6aa4884cd04c4.zip |
34943: Fixes for "command" with multiple options.
These need to combine properly, and alos "command -p" with either -v or -V needs to search for builtins and then using the default system path.
Diffstat (limited to 'Test')
-rw-r--r-- | Test/A01grammar.ztst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Test/A01grammar.ztst b/Test/A01grammar.ztst index 394480c19..921ff99a4 100644 --- a/Test/A01grammar.ztst +++ b/Test/A01grammar.ztst @@ -113,6 +113,16 @@ <External command cat executed >External command cat executed + command -pv cat + command -pv echo + command -p -V cat + command -p -V -- echo +0:command -p in combination +*>*/cat +>echo +>cat is /*/cat +>echo is a shell builtin + cd() { echo Not cd at all; } builtin cd . && unfunction cd 0:`builtin' precommand modifier |