# stty lwrap undef
     # stty lnext undef
 
-    nnn "$@"
+    # The backslash allows one to alias n to nnn if desired without making an
+    # infinitely recursive alias
+    \nnn "$@"
 
     if [ -f "$NNN_TMPFILE" ]; then
             . "$NNN_TMPFILE"
 
 # stty lwrap undef
 # stty lnext undef
 
-alias n 'nnn; source "$NNN_TMPFILE"; rm -f "$NNN_TMPFILE"'
+# The backslash allows one to alias n to nnn if desired without making an
+# infinitely recursive alias
+alias n '\nnn; source "$NNN_TMPFILE"; rm -f "$NNN_TMPFILE"'
 
   # stty lwrap undef
   # stty lnext undef
 
+       # The e: prefix allows one to alias n to nnn if desired without making an
+       # infinitely recursive alias
        e:nnn $@a
 
        if (path:is-regular $E:NNN_TMPFILE) {
 
     # stty lwrap undef
     # stty lnext undef
 
-    nnn $argv
+    # The command function allows one to alias this function to `nnn` without
+    # making an infinitely recursive alias
+    command nnn $argv
 
     if test -e $NNN_TMPFILE
         source $NNN_TMPFILE