summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShohei YOSHIDA <syohex@gmail.com>2026-08-06 09:38:20 +0900
committerOliver Kiddle <opk@zsh.org>2026-10-10 00:12:28 +0200
commita730b58b7965174aa164ec6ad966e612efbf0692 (patch)
treead2b7ac9bff13cd4a8a736d144810efa971fa887
parent55056: got (gameoftrees) suite completion (diff)
downloadzsh-a730b58b7965174aa164ec6ad966e612efbf0692.tar
zsh-a730b58b7965174aa164ec6ad966e612efbf0692.tar.gz
zsh-a730b58b7965174aa164ec6ad966e612efbf0692.tar.bz2
zsh-a730b58b7965174aa164ec6ad966e612efbf0692.tar.lz
zsh-a730b58b7965174aa164ec6ad966e612efbf0692.tar.xz
zsh-a730b58b7965174aa164ec6ad966e612efbf0692.tar.zst
zsh-a730b58b7965174aa164ec6ad966e612efbf0692.zip
55063: add nano's --newbuffer option
'--newbuffer' was introduced since nano 9.2 and added as better synonyms of '--multibuffer'.
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_nano2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c342ae1c3..22e06b704 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2026-10-09 Oliver Kiddle <opk@zsh.org>
+ * Shohei YOSHIDA: 55063: Completion/Unix/Command/_nano:
+ add --newbuffer option
+
* Mikhail Pchelin: 55056: Completion/Unix/Command/_gameoftrees:
got (gameoftrees) suite completion
diff --git a/Completion/Unix/Command/_nano b/Completion/Unix/Command/_nano
index 29fb5337a..554314929 100644
--- a/Completion/Unix/Command/_nano
+++ b/Completion/Unix/Command/_nano
@@ -9,7 +9,7 @@ args=(
'(-C --backupdir)'{-C+,--backupdir=}'[save uniquely numbered backups to specified directory]:backup directory:_directories'
'(-D --boldtext)'{-D,--boldtext}'[use bold instead of reverse video text]'
'(-E --tabstospaces)'{-E,--tabstospaces}'[convert typed tabs to spaces]'
- '(-F --multibuffer)'{-F,--multibuffer}'[read file into new buffer by default]'
+ '(-F --multibuffer --newbuffer)'{-F,--multibuffer,--newbuffer}'[read file into new buffer by default]'
'(-G --locking)'{-G,--locking}'[use vim-style lock files]'
'(-H --historylog)'{-H,--historylog}'[remember search/replace strings]'
'(-I --ignorercfiles)'{-I,--ignorercfiles}"[don't look at nanorc files]"