diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2001-05-17 18:14:17 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2001-05-17 18:14:17 +0000 |
commit | e0d80b9a2ec6d4ce5773810ac6a90f6b23993c27 (patch) | |
tree | 43916d7f9a4fe73fd49f5658f6b8303588a6085e | |
parent | 071b084ea817c8e323a83d50e155c335721cd4c4 (diff) | |
download | zsh-e0d80b9a2ec6d4ce5773810ac6a90f6b23993c27.tar.gz zsh-e0d80b9a2ec6d4ce5773810ac6a90f6b23993c27.tar.xz zsh-e0d80b9a2ec6d4ce5773810ac6a90f6b23993c27.zip |
typo with compset in _lp
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Completion/Unix/Command/_lp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 15448a5a2..b60a20631 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-05-17 Peter Stephenson <pws@csr.com> + + * 14376: Completion/Unix/Command/_lp: type with compset. + 2001-05-17 Bart Schaefer <schaefer@zsh.org> * 14375: Src/Zle/zle_main.c: Permit signals to be handled during diff --git a/Completion/Unix/Command/_lp b/Completion/Unix/Command/_lp index d21f970f7..e7aebb956 100644 --- a/Completion/Unix/Command/_lp +++ b/Completion/Unix/Command/_lp @@ -2,7 +2,7 @@ local expl ret=1 printer list disp strs shown -if compset -P -[dP] || [[ "$words[CURRENT-1]" = -[dP] ]]; then +if compset -P '-[dP]' || [[ "$words[CURRENT-1]" = -[dP] ]]; then _printers else if [[ "$service" = (lpq|lprm) ]]; then |