mirror of
https://github.com/jarun/nnn.git
synced 2024-12-01 02:49:44 +00:00
Replace single dot with source for fish shell
Single dot has been deprecated and can cause issues with users on newer version: https://github.com/fish-shell/fish-shell/issues/310
This commit is contained in:
parent
9cc627459d
commit
2623f688f2
|
@ -4,7 +4,7 @@ function n --description 'support nnn quit and change directory'
|
||||||
nnn $argv
|
nnn $argv
|
||||||
|
|
||||||
if test -e $NNN_TMPFILE
|
if test -e $NNN_TMPFILE
|
||||||
. $NNN_TMPFILE
|
source $NNN_TMPFILE
|
||||||
rm $NNN_TMPFILE
|
rm $NNN_TMPFILE
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue