Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: code completition / cannot delete characters
- X-seq: zsh-users 11269
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: code completition / cannot delete characters
- Date: Sat, 10 Mar 2007 09:15:38 -0800
- In-reply-to: <DEA885AD-706C-432A-A32B-C4037829849F@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <52211927-A3E8-4E51-8735-961A3BE83BB1@xxxxxxxxxxxxxxxxxx> <070309024427.ZM6023@xxxxxxxxxxxxxxxxxxxxxx> <4916CF2F-0DA8-478B-96DC-B6154C90D98C@xxxxxxxxxxxxxxxxxx> <45F1BFB1.3090801@xxxxxxxxxx> <DFEC4BD6-E1D4-4D97-9B6E-EADFC65C5A60@xxxxxxxxxxxxxxxxxx> <45F1F7F7.8040305@xxxxxxxxxx> <DEA885AD-706C-432A-A32B-C4037829849F@xxxxxxxxxxxxxxxxxx>
On Mar 10, 4:52pm, Michael Worobcuk wrote:
}
} [hanno: /home/hanno]> bindkey | egrep redisplay\|clear-screen
} "^L" clear-screen
} "^R" redisplay
} [hanno: /home/hanno]>^L
} zsh: substitution failed
} Seems, he does not like me.
What happens if you start with "zsh -f" so that we're not dealing with
any possible oddities from /etc/z* or ~/.z* files?
[hanno: /home/hanno]> zsh -f
yourhost% bindkey -v
yourhost% autoload -U compinit
yourhost% compinit -D
yourhost% cd /us<TAB>
(Your local machine name should appear instead of "yourhost" above,
and <TAB> means press the tab key.)
Does anything not shown there happen at any step along the way? Is
the completion still garbled?
} > - the output of:
} > env | egrep '^(TERM|VISUAL|EDITOR|PS1)$' | sed 's/[[:cntrl]]/?/g'
There should be one more colon in there, it's [[:cntrl:]] but that
still might not work if you don't have a very modern sed. Also the
"$" at the end of the pattern is a typo, too, that grep won't match
anything. A more useful approach might be
env | egrep '^(TERM|VISUAL|EDITOR|PS1)' | cat -v
} I cannot delete the "cd /us"
} Strange hmm?
I'm beginning to think we're entirely on the wrong track here and this
is just a problem with invisible characters in your prompt string.
Thus suggesting that you start from "zsh -f" (which is always a good
technique, to make sure that the problem isn't something that you have
misconfigured locally).
--
Messages sorted by:
Reverse Date,
Date,
Thread,
Author