diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2009-04-16 10:02:00 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2009-04-16 10:02:00 +0000 |
commit | 28dac24fc69718479c7a83e20689542567aa2c15 (patch) | |
tree | 2d71d5f28a53719a80ad6c44d23db3bbf0edcc89 | |
parent | 29684e7c81ae85ce29f58a707b6339b853565dc6 (diff) | |
download | zsh-28dac24fc69718479c7a83e20689542567aa2c15.tar.gz zsh-28dac24fc69718479c7a83e20689542567aa2c15.tar.xz zsh-28dac24fc69718479c7a83e20689542567aa2c15.zip |
Evgenii Terechkov: 26831: filter out redundant information in _screen
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_screen | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index 10eed973e..39079f902 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2009-04-16 Peter Stephenson <pws@csr.com> + * Evgenii Terechkov: 26831: Completion/Unix/Command/_screen: + filter out redundant output. + * Alexey I. Froloff: 26829: Completion/Unix/Command/_rsync: miscounting fields in output. @@ -11547,5 +11550,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.4648 $ +* $Revision: 1.4649 $ ***************************************************** diff --git a/Completion/Unix/Command/_screen b/Completion/Unix/Command/_screen index be0e3558d..67c453a03 100644 --- a/Completion/Unix/Command/_screen +++ b/Completion/Unix/Command/_screen @@ -98,19 +98,19 @@ if [[ -n $state ]]; then attached-sessions) sessions=( ${${${(M)${(f)"$(_call_program screen-sessions $words[1] \ - -ls)"}:#*[Aa]ttached*}##[[:blank:]]}%%[[:blank:]]*} + -ls 2>/dev/null)"}:#*[Aa]ttached*}##[[:blank:]]}%%[[:blank:]]*} ) ;; detached-sessions) sessions=( ${${${(M)${(f)"$(_call_program screen-sessions $words[1] \ - -ls)"}:#*[Dd]etached*}##[[:blank:]]}%%[[:blank:]]*} + -ls 2>/dev/null)"}:#*[Dd]etached*}##[[:blank:]]}%%[[:blank:]]*} ) ;; any-sessions) sessions=( ${${${(M)${(f)"$(_call_program screen-sessions $words[1] \ - -ls)"}:#*tached*}##[[:blank:]]}%%[[:blank:]]*} + -ls 2>/dev/null)"}:#*tached*}##[[:blank:]]}%%[[:blank:]]*} ) esac |