]> Sergey Matveev's repositories - nnn.git/commitdiff
Improved portability on MacOS (#86)
authorGiacomo Rossetto <Jackymancs4@users.noreply.github.com>
Thu, 1 Mar 2018 13:06:26 +0000 (14:06 +0100)
committerArun Prakash Jana <engineerarun@gmail.com>
Thu, 1 Mar 2018 13:06:26 +0000 (18:36 +0530)
scripts/quitcd/quitcd.bash

index dc83b23cbe6c53cb6e6ad7fd346c0d9684bc8925..a4482e458e1250ff9e1400c4a8e770df8c6b2336 100644 (file)
@@ -6,6 +6,6 @@ n()
 
         if [ -f $NNN_TMPFILE ]; then
                 . $NNN_TMPFILE
-                rm $NNN_TMPFILE
+                rm -f $NNN_TMPFILE > /dev/null
         fi
 }