mirror of
https://github.com/jarun/nnn.git
synced 2024-11-19 01:19:14 +00:00
16 lines
255 B
Bash
16 lines
255 B
Bash
export NNN_TMPFILE="/tmp/nnn"
|
|
|
|
n()
|
|
{
|
|
if [ -n "$1" ]; then
|
|
nnn -d "$1"
|
|
else
|
|
nnn -d
|
|
fi
|
|
|
|
if [ -f $NNN_TMPFILE ]; then
|
|
. $NNN_TMPFILE
|
|
rm $NNN_TMPFILE
|
|
fi
|
|
}
|