mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
12 lines
194 B
Bash
12 lines
194 B
Bash
n()
|
|
{
|
|
nnn "$@"
|
|
|
|
NNN_TMPFILE=${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.lastd
|
|
|
|
if [ -f $NNN_TMPFILE ]; then
|
|
. $NNN_TMPFILE
|
|
rm -f $NNN_TMPFILE > /dev/null
|
|
fi
|
|
}
|