[PATCH] _nano: add --newbuffer option

Shohei YOSHIDA <[email protected]>
Newsgroups gmane.comp.shells.zsh.devel
Message-ID <[email protected]>
'--newbuffer' was introduced since nano 9.2 and added as
better synonyms of '--multibuffer'.
---
 Completion/Unix/Command/_nano | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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]"
-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.