1
0
Fork 0
mirror of https://github.com/jarun/nnn.git synced 2025-03-29 01:26:34 +00:00
nnn/misc/quitcd/quitcd.zsh
2017-06-30 05:27:25 +05:30

11 lines
168 B
Bash

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