diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2003-02-23 23:24:29 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2003-02-23 23:24:29 +0000 |
commit | b1ae269e555cb3997ebac0ceae936f563e3c67c1 (patch) | |
tree | d5b1334521eef1f69dcd68773c6c8a3f0f844d1e /Functions/TCP/tcp_spam | |
parent | fcc7489b7e8c2e572e94b1161ff37a6c0694d864 (diff) | |
download | zsh-b1ae269e555cb3997ebac0ceae936f563e3c67c1.tar.gz zsh-b1ae269e555cb3997ebac0ceae936f563e3c67c1.tar.xz zsh-b1ae269e555cb3997ebac0ceae936f563e3c67c1.zip |
18278: remove zgprintf, zformat already does this
Diffstat (limited to 'Functions/TCP/tcp_spam')
-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 f5c612bee..b516ebaa2 100644 --- a/Functions/TCP/tcp_spam +++ b/Functions/TCP/tcp_spam @@ -91,7 +91,7 @@ for TCP_SESS in $sessions; do tcp_on_spam $TCP_SESS $cmd $* [[ $REPLY = done ]] && continue fi - [[ -n $verbose ]] && zgprintf -R -%s=$TCP_SESS \ - -%f=${tcp_by_name[$TCP_SESS]} -- $TCP_PROMPT + [[ -n $verbose ]] && zformat REPLY $TCP_PROMPT "s:$TCP_SESS" \ + "f:${tcp_by_name[$TCP_SESS]}" eval $cmd '$*' done |