My build of nnn with minor changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

quitcd.fish 324 B

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