From: Shohei YOSHIDA <syohex@gmail.com>
To: zsh-workers@zsh.org
Cc: Shohei YOSHIDA <syohex@gmail.com>
Subject: [PATCH] fix Shift JIS and EUC-JP option
Date: Wed, 7 Dec 2022 11:23:40 +0900 [thread overview]
Message-ID: <20221207022340.251600-1-syohex@gmail.com> (raw)
-e/-E means EUC-JP, -s/-S means Shift JIS
---
Completion/Unix/Command/_nkf | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Completion/Unix/Command/_nkf b/Completion/Unix/Command/_nkf
index 0c4f06fb5..ae79e745a 100644
--- a/Completion/Unix/Command/_nkf
+++ b/Completion/Unix/Command/_nkf
@@ -10,8 +10,8 @@ _arguments -s \
'(-u)-b[Output is buffered]' \
'(-b)-u[Output is unbuffered]' \
'($outputs)'{-j,--jis}'[Output is JIS 7 bit]' \
- '($outputs)'{-e,--sjis}'[Output is Shift JIS]' \
- '($outputs)'{-s,--euc}'[Output is EUC-JP]' \
+ '($outputs)'{-s,--sjis}'[Output is Shift JIS]' \
+ '($outputs)'{-e,--euc}'[Output is EUC-JP]' \
'($outputs)'{-w,--utf8}'[Output is UTF-8 (No BOM)]' \
'($outputs)-w8[Output is UTF-8 (BOM)]' \
'($outputs)'{-w16,-w16b0,--utf16}'[Output is UTF-16 (BigEndian; No BOM)]' \
@@ -23,8 +23,8 @@ _arguments -s \
'($outputs)--mac[Output is for Mac]' \
'($outputs)--windows[Output is for Windows]' \
'($inputs)-J[Input assumption is JIS 7 bit]' \
- '($inputs)-E[Input assumption is Shift JIS]' \
- '($inputs)-S[Input assumption is EUC-JP]' \
+ '($inputs)-S[Input assumption is Shift JIS]' \
+ '($inputs)-E[Input assumption is EUC-JP]' \
'($inputs)-W[Input assumption is UTF-8 (No BOM)]' \
'($inputs)-W8[Input assumption is UTF-8 (BOM)]' \
'($inputs)-W16[Input assumption is UTF-16 (BigEndian; No BOM)]' \
--
2.37.2
reply other threads:[~2022-12-07 2:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221207022340.251600-1-syohex@gmail.com \
--to=syohex@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).