diff options
| author | Shohei YOSHIDA <syohex@gmail.com> | 2024-07-17 11:30:28 +0900 |
|---|---|---|
| committer | Shohei YOSHIDA <syohex@gmail.com> | 2024-07-17 11:30:28 +0900 |
| commit | 14160839cbd95c30d446cd8df420a71ddd0940f5 (patch) | |
| tree | 0a94b5b31bd04b9a90c8a491959ef89fda2edbec /src/_nano | |
| parent | Merge pull request #1086 from zsh-users/update-node (diff) | |
| download | zsh-completions-14160839cbd95c30d446cd8df420a71ddd0940f5.tar zsh-completions-14160839cbd95c30d446cd8df420a71ddd0940f5.tar.gz zsh-completions-14160839cbd95c30d446cd8df420a71ddd0940f5.tar.bz2 zsh-completions-14160839cbd95c30d446cd8df420a71ddd0940f5.tar.lz zsh-completions-14160839cbd95c30d446cd8df420a71ddd0940f5.tar.xz zsh-completions-14160839cbd95c30d446cd8df420a71ddd0940f5.tar.zst zsh-completions-14160839cbd95c30d446cd8df420a71ddd0940f5.zip | |
Update nano complete to version 8.1
Diffstat (limited to 'src/_nano')
| -rw-r--r-- | src/_nano | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -1,4 +1,12 @@ #compdef nano +# ------------------------------------------------------------------------------ +# Description +# ----------- +# +# Completion script for nano 8.1 +# (https://www.nano-editor.org/) +# +# ------------------------------------------------------------------------------ local curcontext="$curcontext" state line local -i ret=1 @@ -56,10 +64,12 @@ _arguments -s -S -C \ '(-x --nohelp)'{-x,--nohelp}"[don't show the two help lines]" \ '(-y --afterends)'{-y,--afterends}'[make Ctrl+Right stop at word ends]' \ '(-z --suspend)'{-z,--suspend}'[enable suspension]' \ + '(-@ --colonparsing)'{-@,--colonparsing}'[accept "filename:linenumber" notation]' \ '(-% --stateflags)'{-%,--stateflags}'[show some states in the title bar]' \ '(-_ --minibar -U --quickblank)'{-_,--minibar}'[suppress the title bar and show information at the bottom of the screen]' \ '(-! --magic)'{-\!,--magic}'[try libmagic to determine applicable syntax]' \ - '(-0 --zero)'{-0,--zero}'[Hide all bars, use whole terminal]' \ + '(-0 --zero)'{-0,--zero}'[hide all bars, use whole terminal]' \ + '(-/ --modernbindings)'{-/,--modernbindings}'[use better-known key bindings]' \ '(-t -q)*: :->args' && ret=0 if [[ -n $state ]]; then @@ -72,3 +82,11 @@ if [[ -n $state ]]; then fi return ret + +# Local Variables: +# mode: Shell-Script +# sh-indentation: 2 +# indent-tabs-mode: nil +# sh-basic-offset: 2 +# End: +# vim: ft=zsh sw=2 ts=2 et |
