[GTALUG] flash instead of beep in zsh?

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Tue Oct 7 17:10:06 UTC 2014


On Tue, Oct 07, 2014 at 07:08:04AM -0400, Matt Price wrote:
> Hi folks,
> 
> I am trying to switch to zsh from bash.  Haven't really gotten many of the
> benefits yet as I need to learn the advanced globbing syntax, but it seems
> nice so far.  However, the beep is driving my crazy.  for ages I've had my
> bash beep set to a flash, which is far less annoying.  in zsh this is
> apparently accomplished with the ZBEEP shell parameter, but I can't make it
> work.  does anyone have ZBEEP set to a value that actually works for them?
> 
> I should say, I am using GNOME and gnome-terminal, which, unlike konsole,
> does not have an option for changing the bell to a flash, so I think this
> would have to be accomplished in the shell itself.

I don't care what desktop environment you use, gnome-terminal is a pile
of buggy shit.  Just use konsole (or even xterm is an improvement).

As for zsh, it seems doing this works:

export ZBEEP='\e[?5h\e[?5l'

At least it did for me.

-- 
Len Sorensen


More information about the talk mailing list