1
0
Fork 0
mirror of https://github.com/jarun/nnn.git synced 2025-03-30 18:16:33 +00:00
nnn/misc/quitcd/quitcd.fish

11 lines
229 B
Fish
Raw Normal View History

2017-04-19 18:22:30 +05:30
export NNN_TMPFILE="/tmp/nnn"
function n --description 'support nnn quit and change directory'
nnn $argv[1]
2017-04-29 12:09:26 +05:30
2017-04-19 18:22:30 +05:30
if test -e $NNN_TMPFILE
. $NNN_TMPFILE
rm $NNN_TMPFILE
end
end