nnn/scripts/quitcd/quitcd.bash
2018-03-01 18:36:26 +05:30

12 lines
183 B
Bash

export NNN_TMPFILE="/tmp/nnn"
n()
{
nnn "$@"
if [ -f $NNN_TMPFILE ]; then
. $NNN_TMPFILE
rm -f $NNN_TMPFILE > /dev/null
fi
}