Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
problem with my term and Misc/colors
- X-seq: zsh-workers 20252
- From: Han Boetes <han@xxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: problem with my term and Misc/colors
- Date: Tue, 10 Aug 2004 15:54:23 +0200
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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
________|_|_|_________
Messages sorted by:
Reverse Date,
Date,
Thread,
Author