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

Re: How to trigger the death of zsh(3.0.5)



On Oct 9,  7:43am, Mircea Damian wrote:
} Subject: Re: How to trigger the death of zsh(3.0.5)
}
} > You can do `ESC - ESC 1 ESC .' to negate the digit, in which case zsh
} > counts from the beginning.
} 
} I think that a temporary _ugly_ fix is to bind the keys for some exact
} cases(5 or 6 arguments). This will "fix" their request... but I repeat it's
} ugly.

Be very careful not to introduce a loop.  You can't, for example, do

	bindkey -s '\e1\e.' '\e-\e1\e.'

as the ESC 1 ESC . in the expansion will again match the key binding and
repeat the expansion.

} > More specifically than that, I can't tell.  If you type \Cv \C\My, what
} > do you see?  If you see ^Y, then your alt or meta key isn't working,
} > which could explain the beeping.
} 
} Something strange happens here.
} If I type \Cv \C\My I only get the ESC character('^[')

Are you doing (hold down Ctrl, hold down Alt, tap Y) or are you doing
(tap ESC, hold down Ctrl, tap Y)?  The binding I gave was for the first
of those, and does not also cause the second one to be bound.  You need
to also do

	bindkey '\e\Cy' insert-last-word

to get the ESC prefix to work.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



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