aboutsummaryrefslogtreecommitdiff
path: root/.scripts/n
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/n')
-rwxr-xr-x.scripts/n8
1 files changed, 8 insertions, 0 deletions
diff --git a/.scripts/n b/.scripts/n
new file mode 100755
index 0000000..9f61763
--- /dev/null
+++ b/.scripts/n
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+nnn "$@"
+
+if [ -f $NNN_TMPFILE ]; then
+ . $NNN_TMPFILE
+ rm $NNN_TMPFILE
+fi