My build of nnn with minor changes
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
429 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. function n --description 'support nnn quit and change directory'
  5. nnn $argv
  6. # NOTE: set NNN_TMPFILE correctly if you use 'XDG_CONFIG_HOME'
  7. set NNN_TMPFILE ~/.config/nnn/.lastd
  8. if test -e $NNN_TMPFILE
  9. source $NNN_TMPFILE
  10. rm $NNN_TMPFILE
  11. end
  12. end