diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2003-05-02 10:58:52 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-05-02 10:58:52 +0000 |
commit | 48d0166c1c23443c662e10dc758b1a4662ba9110 (patch) | |
tree | 26d9694aa7617cdc20fb21194558f070b2dd2534 /Functions/TCP | |
parent | 94da86f7956af9d6855c12d79d757b961bf0c2a4 (diff) | |
download | zsh-48d0166c1c23443c662e10dc758b1a4662ba9110.tar.gz zsh-48d0166c1c23443c662e10dc758b1a4662ba9110.tar.xz zsh-48d0166c1c23443c662e10dc758b1a4662ba9110.zip |
18497: minor tweaks to info and tcp_spam
Diffstat (limited to 'Functions/TCP')
-rw-r--r-- | Functions/TCP/tcp_spam | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/TCP/tcp_spam b/Functions/TCP/tcp_spam index bafe269b9..8b84cd0d2 100644 --- a/Functions/TCP/tcp_spam +++ b/Functions/TCP/tcp_spam @@ -95,7 +95,7 @@ for TCP_SESS in $sessions; do tcp_on_spam $TCP_SESS $cmd $* [[ $REPLY = done ]] && continue fi - [[ -n $verbose ]] && zformat REPLY $TCP_PROMPT "s:$TCP_SESS" \ - "f:${tcp_by_name[$TCP_SESS]}" + [[ -n $verbose ]] && zformat -f REPLY $TCP_PROMPT "s:$TCP_SESS" \ + "f:${tcp_by_name[$TCP_SESS]}" && print -r $REPLY eval $cmd '$*' done |