From: Han Boetes <han@mijncomputer.nl>
To: zsh-workers@sunsite.dk
Subject: problem with my term and Misc/colors
Date: Tue, 10 Aug 2004 15:54:23 +0200 [thread overview]
Message-ID: <20040810135445.GE17806@boetes.org> (raw)
Hi,
I found a problem with the colors package:
For example I type:
~% cd /[tab]
Then get a litteral tab as well and it looks like: Note the second
instance of cd /
~% cd / cd /
directory
.systrace/ bin/ etc/ kern/
Here is a fix:
--- colors.orig 2004-08-10 15:31:19.480393544 +0200
+++ colors 2004-08-10 15:32:39.018301944 +0200
@@ -54,7 +54,8 @@
# The following are terminal escape sequences used by colored prompt
themes.
-local lc=$'\e[' rc=m # Standard ANSI terminal escape values
+#local lc=$'\e[' rc=m # Standard ANSI terminal escape values
+local lc=$'%{\e[' rc='m%}' # Standard ANSI terminal escape values
typeset -Hg reset_color bold_color
reset_color="$lc${color[none]}$rc"
# Han
--
\_/ The three questions of greatest concern are -- 1.
m00h ( _ ) -(_)- Is it attractive? 2. Is it amusing? 3. Does it
\ ~O o~__ / \ know its place? -- Fran Lebowitz, Metropolitan
(._.)_|\ Life
________|_|_|_________
next reply other threads:[~2004-08-10 13:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-10 13:54 Han Boetes [this message]
2004-08-11 0:35 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040810135445.GE17806@boetes.org \
--to=han@mijncomputer.nl \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).