Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: code completition / cannot delete characters



Michael Worobcuk wrote:

Am 10.03.2007 um 22:05 schrieb Micah Cowan:

Michael Worobcuk wrote:
Whoops! How about plugging 's/[[:cntrl:]]/?g' into that instead?
: env | egrep '^(TERM|VISUAL|EDITOR|PS1)$' | sed 's/[[:cntrl:]]/?/g'

[hanno: /home/hanno]>: env | egrep '^(TERM|VISUAL|EDITOR|PS1)$' | sed 's/[[:cntrl:]]/?/g'
[hanno: /home/hanno]>
That's it!
Hmmmmmm.....

LOL! Heh, sorry, I didn't mean for you to use the :. Please type the rest /after/ that point. (I should've prefaced it with "$" instead; ":" was a poor choice.)

ARGL $&%/   ...Maybe I should read what I type in...hehe
But what is that ?
[hanno: /home/hanno]>env | egrep '^(TERM|VISUAL|EDITOR|PS1)$' | sed 's/[[:cntrl:]]/?/g'
[hanno: /home/hanno]>

What is wrong ?

Hm, how about this:

$ echo $PS1 > ps1

and then post the ps1 file (it, too, will contain invisible escapes).

-Micah



Messages sorted by: Reverse Date, Date, Thread, Author