mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Use new temp file for each run of 'n' alias
This commit is contained in:
parent
a288553f1b
commit
43fde64fb3
|
@ -1,7 +1,7 @@
|
|||
export NNN_TMPFILE="$(mktemp -u nnn.XXXXXXXX)"
|
||||
|
||||
n()
|
||||
{
|
||||
export NNN_TMPFILE="$(mktemp -u nnn.XXXXXXXX)"
|
||||
|
||||
nnn "$@"
|
||||
|
||||
if [ -f $NNN_TMPFILE ]; then
|
||||
|
|
Loading…
Reference in a new issue