add 'wraps' attribute to allow autocompletion (#606)

This commit is contained in:
basbebe 2020-05-29 16:58:59 +02:00 committed by GitHub
parent 87bb2d7742
commit 0a318bd411
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# e.g. ~/.config/fish/functions/n.fish
# or, add the lines to the 'config.fish' file.
function n --description 'support nnn quit and change directory'
function n --wraps nnn --description 'support nnn quit and change directory'
# Block nesting of nnn in subshells
if test -n "$NNNLVL"
if [ (expr $NNNLVL + 0) -ge 1 ]