mirror of
https://github.com/jarun/nnn.git
synced 2024-11-16 16:13:16 +00:00
12 lines
186 B
Bash
12 lines
186 B
Bash
n()
|
|
{
|
|
export NNN_TMPFILE=${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd
|
|
|
|
nnn "$@"
|
|
|
|
if [ -f $NNN_TMPFILE ]; then
|
|
. $NNN_TMPFILE
|
|
rm $NNN_TMPFILE
|
|
fi
|
|
}
|