aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/quitcd
diff options
context:
space:
mode:
authorGravatar Giacomo Rossetto <Jackymancs4@users.noreply.github.com>2018-03-01 14:06:26 +0100
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2018-03-01 18:36:26 +0530
commit73932da9ddb291dcbb90db0cbe5a240ad308cf50 (patch)
tree2330e91fe0d3d4cf1f8d94bb6cf8ea1f9fb958a9 /scripts/quitcd
parent7be0726164442a83f47e5a9a0cdf2db343832d23 (diff)
downloadnnn-73932da9ddb291dcbb90db0cbe5a240ad308cf50.tar.gz
Improved portability on MacOS (#86)
Diffstat (limited to 'scripts/quitcd')
-rw-r--r--scripts/quitcd/quitcd.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/quitcd/quitcd.bash b/scripts/quitcd/quitcd.bash
index dc83b23..a4482e4 100644
--- a/scripts/quitcd/quitcd.bash
+++ b/scripts/quitcd/quitcd.bash
@@ -6,6 +6,6 @@ n()
if [ -f $NNN_TMPFILE ]; then
. $NNN_TMPFILE
- rm $NNN_TMPFILE
+ rm -f $NNN_TMPFILE > /dev/null
fi
}