mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
add 'wraps' attribute to allow autocompletion (#606)
This commit is contained in:
parent
87bb2d7742
commit
0a318bd411
|
@ -2,7 +2,7 @@
|
||||||
# e.g. ~/.config/fish/functions/n.fish
|
# e.g. ~/.config/fish/functions/n.fish
|
||||||
# or, add the lines to the 'config.fish' file.
|
# 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
|
# Block nesting of nnn in subshells
|
||||||
if test -n "$NNNLVL"
|
if test -n "$NNNLVL"
|
||||||
if [ (expr $NNNLVL + 0) -ge 1 ]
|
if [ (expr $NNNLVL + 0) -ge 1 ]
|
||||||
|
|
Loading…
Reference in a new issue