diff options
author | Peter Stephenson <pws@zsh.org> | 2015-01-30 16:24:20 +0000 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2015-01-30 16:24:20 +0000 |
commit | 1c942291f8a41d80d7db4e7513adf06edfe50277 (patch) | |
tree | dfdbc105711ee1d6114e741dc9daa7d1c1134603 /Completion/Unix/Command | |
parent | bc8491c3dc939411546d0b5ee5fe25551bce424f (diff) | |
download | zsh-1c942291f8a41d80d7db4e7513adf06edfe50277.tar.gz zsh-1c942291f8a41d80d7db4e7513adf06edfe50277.tar.xz zsh-1c942291f8a41d80d7db4e7513adf06edfe50277.zip |
34435: Update emulate completion.
Add new feature to run command in emulation. Factor out handling of quoted command string to new function.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_sh b/Completion/Unix/Command/_sh index 104c7576c..21ebfc3b2 100644 --- a/Completion/Unix/Command/_sh +++ b/Completion/Unix/Command/_sh @@ -10,8 +10,7 @@ if [[ $service == zsh ]]; then fi if (( CURRENT == ${words[(i)-c]} + 1 )); then - compset -q - _normal + _cmdstring else local n=${words[(b:2:i)[^-]*]} if (( n <= CURRENT )); then |