]> Sergey Matveev's repositories - nnn.git/commitdiff
add 'wraps' attribute to allow autocompletion (#606)
authorbasbebe <7083188+basbebe@users.noreply.github.com>
Fri, 29 May 2020 14:58:59 +0000 (16:58 +0200)
committerGitHub <noreply@github.com>
Fri, 29 May 2020 14:58:59 +0000 (20:28 +0530)
misc/quitcd/quitcd.fish

index 5048853a7c0eacc867c030b08b0be105e5b1ce18..47cda35b331d7cc40b959ea0119f66b1791d3c07 100644 (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 ]