1
0
Fork 0
mirror of https://github.com/jarun/nnn.git synced 2025-03-07 07:19:22 +00:00
nnn/scripts/quitcd/quitcd.fish
2017-09-02 11:15:10 +05:30

10 lines
226 B
Fish

export NNN_TMPFILE="/tmp/nnn"
function n --description 'support nnn quit and change directory'
nnn $argv
if test -e $NNN_TMPFILE
. $NNN_TMPFILE
rm $NNN_TMPFILE
end
end