diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-01 15:38:25 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-03-01 15:38:25 +0000 |
commit | 3622c3ea7d6d84dc5bd2c94ea95b739670ca1614 (patch) | |
tree | eaa702a4a38ba261afa37b68201b383870a7d5c6 /Test/comptest | |
parent | e6b92471a9cc2cc5502a39d98c5a48b2cafa54be (diff) | |
download | zsh-3622c3ea7d6d84dc5bd2c94ea95b739670ca1614.tar.gz zsh-3622c3ea7d6d84dc5bd2c94ea95b739670ca1614.tar.xz zsh-3622c3ea7d6d84dc5bd2c94ea95b739670ca1614.zip |
zsh-workers/9957
Diffstat (limited to 'Test/comptest')
-rw-r--r-- | Test/comptest | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Test/comptest b/Test/comptest index 7ea665c26..e8f1ffef6 100644 --- a/Test/comptest +++ b/Test/comptest @@ -7,6 +7,7 @@ debug= dump=(-D) code= zsh=${ZSH:-zsh} +termcap_ce="$(echotc ce)" while getopts Dd:c:z: opt; do case $opt in @@ -91,7 +92,7 @@ for log in "$logs[@]"; do log="${log[$mend[1]+1,-1]}" if (( 0 <= $mbegin[2] )); then if [[ $match[2] != TC && $match[3] != \ # ]]; then - print -lr "$match[2]:{$match[3]}" + print -lr "$match[2]:{${match[3]%$termcap_ce}}" fi elif (( 0 <= $mbegin[4] )); then print -lr "DESCRIPTION:{$match[4]}" |