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