This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
zsh locale related completions
- From: Marko Myllynen <myllynen at redhat dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Cc: libc-locales at sourceware dot org
- Date: Mon, 20 Jun 2016 17:52:37 +0300
- Subject: zsh locale related completions
- Authentication-results: sourceware.org; auth=none
- Reply-to: Marko Myllynen <myllynen at redhat dot com>
Hi,
FWIW, in case you're a zsh user, I've contributed
locale/localedef/iconvconfig completions to zsh upstream recently (iconv
was supported already earlier).
So now <TAB> does always The Right Thing, for example:
$ locale -ck int<TAB>
int_curr_symbol int_n_sign_posn int_prefix
int_frac_digits int_p_cs_precedes int_select
int_n_cs_precedes int_p_sep_by_space
int_n_sep_by_space int_p_sign_posn
$ locale LC<TAB>
LC_ADDRESS LC_MEASUREMENT LC_NUMERIC
LC_COLLATE LC_MESSAGES LC_PAPER
LC_CTYPE LC_MONETARY LC_TELEPHONE
LC_IDENTIFICATION LC_NAME LC_TIME
$ localedef -f A<TAB>
ANSI_X3.110-1983 ANSI_X3.4-1968 ARMSCII-8 ASMO_449
$ localedef --delete-from-archive x<TAB>
xh_ZA xh_ZA.iso88591 xh_ZA.utf8
Etc.
Available from git://git.code.sf.net/p/zsh/code.
Cheers,
--
Marko Myllynen