From 2623f688f2773603c2ac15e1b71c49ce438eb077 Mon Sep 17 00:00:00 2001 From: Joni Salmi Date: Mon, 26 Nov 2018 14:21:59 +0200 Subject: [PATCH] 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 --- scripts/quitcd/quitcd.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/quitcd/quitcd.fish b/scripts/quitcd/quitcd.fish index 079f33e2..e7eec5e1 100644 --- a/scripts/quitcd/quitcd.fish +++ b/scripts/quitcd/quitcd.fish @@ -4,7 +4,7 @@ function n --description 'support nnn quit and change directory' nnn $argv if test -e $NNN_TMPFILE - . $NNN_TMPFILE + source $NNN_TMPFILE rm $NNN_TMPFILE end end