mirror of
https://github.com/jarun/nnn.git
synced 2024-11-18 00:49:15 +00:00
2623f688f2
Single dot has been deprecated and can cause issues with users on newer version: https://github.com/fish-shell/fish-shell/issues/310
11 lines
231 B
Fish
11 lines
231 B
Fish
export NNN_TMPFILE="/tmp/nnn"
|
|
|
|
function n --description 'support nnn quit and change directory'
|
|
nnn $argv
|
|
|
|
if test -e $NNN_TMPFILE
|
|
source $NNN_TMPFILE
|
|
rm $NNN_TMPFILE
|
|
end
|
|
end
|