diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2018-11-17 21:45:27 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2018-11-17 21:45:27 +0530 |
commit | 56ca0a6cce1e0521e81bedeb9876c7bc9667bd22 (patch) | |
tree | f1a550e7d0aec88c7a80f779b8cd20d222540b23 | |
parent | 80371258a12e05568f9eb428fb7076f6663f9c48 (diff) | |
download | nnn-56ca0a6cce1e0521e81bedeb9876c7bc9667bd22.tar.gz |
Rudimentary C Shell script to quit and cd
-rw-r--r-- | scripts/quitcd/quitcd.csh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/quitcd/quitcd.csh b/scripts/quitcd/quitcd.csh new file mode 100644 index 0000000..afa5fa6 --- /dev/null +++ b/scripts/quitcd/quitcd.csh @@ -0,0 +1,3 @@ +setenv NNN_TMPFILE /tmp/nnn + +alias n 'nnn -c 2; source "$NNN_TMPFILE"; rm "$NNN_TMPFILE"' |