My build of nnn with minor changes
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

15 行
371 B

  1. # Rename this file to match the name of the function
  2. # e.g. ~/.config/fish/functions/n.fish
  3. # or, add the lines to the 'config.fish' file.
  4. export NNN_TMPFILE="/tmp/nnn"
  5. function n --description 'support nnn quit and change directory'
  6. nnn $argv
  7. if test -e $NNN_TMPFILE
  8. source $NNN_TMPFILE
  9. rm $NNN_TMPFILE
  10. end
  11. end