escape call to nnn in quitcd.fish

This commit is contained in:
Anomalocaridid 2022-07-17 20:47:36 -04:00
parent 2347cd2d59
commit 3c0789c864
1 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,9 @@ function n --wraps nnn --description 'support nnn quit and change directory'
# stty lwrap undef
# stty lnext undef
nnn $argv
# The command function allowa one to alias nnn to n if desired without
# making an infinitely recursive alias
command nnn $argv
if test -e $NNN_TMPFILE
source $NNN_TMPFILE