nnn/misc/quitcd/quitcd.bash

12 lines
168 B
Bash
Raw Normal View History

2017-04-19 18:22:30 +05:30
export NNN_TMPFILE="/tmp/nnn"
n()
{
2017-06-30 05:27:25 +05:30
nnn "$@"
2017-04-29 12:09:26 +05:30
2017-04-19 18:22:30 +05:30
if [ -f $NNN_TMPFILE ]; then
. $NNN_TMPFILE
rm $NNN_TMPFILE
fi
}