Things I've ruled out
- Terminal: works if I launch it with
bash
as shell - Keyboard layout: £ inserts fine in Vim,
bash
and Firefox - Unicode issues anywhere: emojis work in all applications
I can't input £ in zsh
, even when I launch bash
, which probably means the ZSH Line Editor is at fault. But I can't find out
how to make it work by using bindkey
, even after some Google searching.
Can I use bindkey
, or do I have to use something else?
EDIT:
Locale Variables (same in bash
and zsh
):
Also using oh-my-zsh
with default theme
LANG=en_GB.UTF-8
LC_CTYPE=en_GB.UTF-8
LC_NUMERIC=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE=en_GB.UTF-8
LC_MONETARY=en_GB.UTF-8
LC_MESSAGES=en_GB.UTF-8
LC_ALL=en_GB.UTF-8
Terminal: st
(Luke Smith's build)
locale -a
.zsh -f
(dont load d'oh-my-zsh) and then setLC_ALL=en_GB.utf8
?st
supbrocess formst
solves the problem. It''s hacky though