nnn/misc/quitcd/quitcd.fish
Arun Prakash Jana bac4c27191
Update scripts
2017-04-29 19:20:00 +05:30

11 lines
232 B
Fish

export NNN_TMPFILE="/tmp/nnn"
function n --description 'support nnn quit and change directory'
nnn -d $argv[1]
if test -e $NNN_TMPFILE
. $NNN_TMPFILE
rm $NNN_TMPFILE
end
end