mirror of
https://github.com/jarun/nnn.git
synced 2024-11-14 15:13:16 +00:00
10 lines
222 B
Fish
10 lines
222 B
Fish
|
export NNN_TMPFILE="/tmp/nnn"
|
||
|
|
||
|
function n --description 'support nnn quit and change directory'
|
||
|
nnn -d
|
||
|
if test -e $NNN_TMPFILE
|
||
|
. $NNN_TMPFILE
|
||
|
rm $NNN_TMPFILE
|
||
|
end
|
||
|
end
|