zsh-workers
 help / color / mirror / code / Atom feed
* Setting magic-space in /etc/zshrc
@ 2016-05-25 10:12 Sebastian Gniazdowski
       [not found] ` <CAH+w=7Z1RTUK9Hft_cg3=-GTPo8+fxzKX_5CMcZQN1nGS3H-Cw@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Gniazdowski @ 2016-05-25 10:12 UTC (permalink / raw)
  To: Zsh hackers list

Hello,
let's have in /etc/zshrc:

bindkey ' ' magic-space
bindkey ' '

When shell startups, it shows: " " magic-space. When I issue "bindkey
' '", it shows self-insert. That's the point. However space apparently
is really bound to magic-space, despite it shows " " self-insert. I
had a widget that was overriding self-insert and it wasn't called on
space untill I've added bindkey ' ' self-insert to startup block.

Tested on Fedora 23 / zsh-5.1.1. It has space bound to magic-space by
default. I've tried doing so (via /etc/zshrc, like on Fedora) on OS X
and the problem reproduces. However, funny part is: not if I start the
shell again via zsh-5.2 -i (the same way iTerm2 starts it).

Best regards,
Sebastian Gniazdowski


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-25 11:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-25 10:12 Setting magic-space in /etc/zshrc Sebastian Gniazdowski
     [not found] ` <CAH+w=7Z1RTUK9Hft_cg3=-GTPo8+fxzKX_5CMcZQN1nGS3H-Cw@mail.gmail.com>
     [not found]   ` <CAH+w=7Zkvxrgi5KB-1oMSHpfL+j8whbL4meV7Yn=x1wmDai2wQ@mail.gmail.com>
2016-05-25 10:42     ` Bart Schaefer
2016-05-25 11:22       ` Sebastian Gniazdowski

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).